Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Np ref #4

Merged
merged 14 commits into from
Sep 18, 2020
Merged

Np ref #4

merged 14 commits into from
Sep 18, 2020

Conversation

GraysonWu
Copy link
Owner

No description provided.

lzhecheng and others added 14 commits September 12, 2020 15:00
Add "--pull" for make ubuntu/build-ubuntu/build-windows/octant-antrea-ubuntu.
Without "--pull", images cannot be updated when "make".
Few developers will be affected if they work on antrea/openvswitch or
antrea/base-ubuntu but this patch benefits the most.
…ntrea-io#1235)

1. Bump up ofnet version to resolve a goroutine leak issue introduced
   when failing to begin a Bundle
2. Modify the integration test to ensure the case doesn't stuck at
   wg.Wait()
This extends antrea-io#1189 to skip
other CI jobs for documentation PRs. In particular, the Windows Docker
build, which takes more than 20 minutes to complete. Note that once the
documentation PR is merged, the 'push' event will trigger new Docker
images to be built and uploaded to dockerhub, which should be the
desired behavior.
This patch enables verbose logging for antrea-agent and
antrea-controller when generate manifest. This will help in
troubleshooting with increased log level.
)

The summary types are tagged for deprecation, Kubernetes recommended to
use histograms instead of summaries. The main advantages of histogram
types are aggregation and inexpensive.

In this commit, we changed three Antrea controller metrics from summary
to histogram type. They are DurationAppliedToGroupSyncing,
DurationAddressGroupSyncing, and DurationInternalNetworkPolicySyncing.

Fixes antrea-io#905

Co-authored-by: Yongming Ding <dyongming@vmware.com>
manifest generation failing in release mode.
Fixed the bug.
Bump up ofnet version to resolve an issue that publishing OVS reply messages
to a closed channel when a Bundle fails to begin.
Fixes antrea-io#1254

The SHA256 checksum verification for the OVS Windows binaries is no
longer required for security reasons, but it may be a good idea to keep
it (there is no real maintenance burden, we just need to update it
whenever the link is updated). It can help ensure that there is no issue
on our side and that the file that was uploaded to S3 by us is the
correct one. There is no burden on users. We can also remove that code
altogether.
In order to troubleshoot Prometheus e2e testing issues, enable
Prometheus logging to diagnose connectivity problems between Prometheus
and Antrea components.
Also, inclode the monitoring namespace Pod logs (mainly Prometheus server)
within the test output bundle.
* Move scripts in macros.yaml to separate shell files in order to
ensure maintainability.
* run-k8s-e2e-test.sh: Move KUBE_CONFORMANCE_IMAGE_VERSION initialization before _usage.
Otherwise, this var is unset.
* k8s-conformance-image-version: v1.18.0-beta.1 -> v1.18.5
* sonobuy version: v0.17.2 -> v0.18.5
…#1243)

Package networking is superseded by package controlplane in v0.9.3, to
keep backward compatibility with up to two minor versions of
antrea-agents, the API group should remain for two more minor releases.

This patch adds the APIs back and serves them with the same storage as
controlplane API. Also, kind tests are added to make sure basic
functionalities are not broken when only controller is upgraded.
NetworkPolicy in controlplane API group is the object that consumed by
antrea-agents. Both Antrea NetworkPolicy and K8s NetworkPolicy will be
converted to it. Currently, the namespace and name of the original
NetworkPolicy are copied to the controlplane NetworkPolicy and
<Namespace>/<Name> is used as the key func. Therefore, one K8s
NetworkPolicy may overwrite the controlplane NetworkPolicy mapping to a
Antrea NetworkPolicy that has the same namespace and name.

To fix it completely, the original NetworkPolicy name will not be used
as the controlplane NetworkPolicy name directly. However, antrea-agents
still need to know the information about the original NetworkPolicy for
multiple purposes, e.g. metrics and realization status report, and
traceflow observation correlation.

To keep backward compatibility, this patch adds a new field "SourceRef"
that includes the information about the original NetworkPolicy to the
struct of controlplane NetworkPolicy. Instead of assuming controlplane
NetworkPolicy has the same name as the original NetworkPolicy,
antrea-agents consumes the new field to get the information about the
original NetworkPolicy.
@GraysonWu GraysonWu merged commit 46db459 into GraysonWu:antctl_cnp_anp Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.