Project: Antrea (Runtime / Cloud Native Network)
File: CHANGELOG-1.0.md

Fix inter-Node ClusterIP Service access when AntreaProxy is disabled. (, [@tnqn]) Fix duplicate group ID allocation in AntreaProxy when using a combination of IPv4 and IPv6 Services in dual-stack clusters; this was causing Service connectivity issues. (, [@hongliangl]) Fix intra-Node ClusterIP Service access when both the AntreaProxy and Egress features are enabled. (, [@tnqn]) Fix invalid clean-up of the HNS Endpoint during Pod deletion, when Docker is used as the container runtime. (, [@wenyingd]) [Windows] Fix race condition on Windows when retrieving the local HNS Network created by Antrea for containers. (, [@tnqn]) [Windows] Fix invalid conversion function between internal and versioned types for controlplane API, which was causing JSON marshalling errors. (, [@tnqn]) Fix implementation of the v1beta1 version of the legacy "controlplane.antrea.tanzu.vmware.com" API: the API was incorrectly using some v1beta2 types and it was missing some field selectors. (, [@tnqn]) It was discovered that the AntreaProxy implementation has an upper-bound for the number of Endpoints it can support for each Service: we increase this upper-bound from ~500 to 800, log a warning for Services with a number of Endpoints greater than 800, and arbitrarily drop some Endpoints so we can still provide load-balancing for the Service. (, [@hongliangl]) Fix Antrea-native policy with multiple AppliedTo selectors: some rules were never realized by the Agents as they thought they had only received partial information from the Controller. (, [@tnqn]) Fix re-installation of the OpenFlow groups when the OVS daemons are restarted to ensure that AntreaProxy keeps functioning. (, [@antoninbas]) Fix IPFIX flow records exported by the Antrea Agent. (, [@zyiou]) If a connection spanned multiple export cycles, it wasn't handled properly and no record was sent for the connection If a connection spanned a single export cycle, a single record was sent but "delta counters" were set to 0 which caused flow visualization to omit the flow in dashboards Fix incorrect stats reporting for ingress rules of some NetworkPolicies: some types of traffic were bypassing the OVS table keeping track of statistics once the connection was established, causing packet and byte stats to be incorrect. (, [@ceclinux]) Fix the retry logic when enabling the OVS bridge local interface on Windows Nodes. (, [@antoninbas]) [Windows] The AntreaPolicy feature is graduated from Alpha to Beta and is therefore enabled by default. Add [Egress] feature to configure SNAT policies for Pod-to-external traffic. [Alpha - Feature Gate: `Egress`] A new Egress CRD is introduced to define SNAT policies (, [@jianjuns]) Update the datapath to implement Egress: on Windows Nodes, everything is implemented in OVS, while on Linux Nodes, OVS marks packets and sends them to the host network namespace, where iptables handles SNAT ( , [@jianjuns], [@tnqn]) A new EgressGroup control plane API is introduced: the Controller computes group membership for each policy and sends this information to the Agents (, [@tnqn]) Implement the EgressGroup control plane API in the Agent (, [@tnqn] [@ceclinux]) Document the Egress feature and its datapath implementation ( , [@jianjuns] [@tnqn]) Add support for the "Reject" action in Antrea-native policies as an alternative to "Drop" (which silently drops

(, [@GraysonWu]) For rejected TCP connections, the Agent will send a TCP RST packet For UDP and SCTP, the Agent will send an ICMP message with Type 3 (Destination Unreachable) and Code 10 (Host administratively prohibited) Add support for nesting in the , [@Dyanngg]) Add ability to specify multiple IPBlocks when defining a ClusterGroup. (, [@Dyanngg]) Support for IPv6 (IPv6-only and dual-stack clusters) in the FlowAggregator and in the reference ELK stack. ( , [@dreamtalen]) Add support for arm/v7 and arm64 to the main Antrea Docker image for Linux (antrea/antrea-ubuntu) instead of using a separate image. (, [@antoninbas]) Add support for live-traffic tracing in Traceflow: rather than injecting a Traceflow packet, we can monitor real traffic and update the Traceflow Status when a matching packet is observed. ( , [@jianjuns]) The captured packet is reported as part of the Traceflow request Status Live-traffic tracing supports a "Dropped-Only" filter which will only capture packets dropped by the datapath Introduce a new optional to automatically label all Namespaces and Services with their name (`antrea.io/metadata.name: <resourceName>`); this allows NetworkPolicies and ClusterGroup to easily select these resources by name. (, [@abhiraut] [@Dyanngg]) Add support for rule-level statistics for Antrea-native policies, when the NetworkPolicyStats feature is enabled: rules are identified by their name, which can be user-provided or auto-generated. (, [@ceclinux]) Add TCP connection state information to the IPFIX records sent by the FlowExporter, and improve handling of "dying" connections. (, [@zyiou]) Add information about the flow type (intra-Node, inter-Node, Pod-to-external) to the IPFIX records sent by the FlowExporter. (, [@dreamtalen]) Add support for dumping OVS flows related to a Service with the "antctl get of" command. (, [@jianjuns]) Randomly generate a cluster UUID in the Antrea Controller and make it persistent by storing it to a ConfigMap ("antrea-cluster-identity"). (, [@antoninbas]) Add support for IPv6 to "antctl traceflow". (, [@luolanzone]) Rename all Antrea API groups from `.antrea.tanzu.vmware.com` to `.antrea.io`. (, [@hongliangl]) All legacy groups will be supported until December 2021 See the , [@antoninbas]) Change the export mechanism for the FlowExporter in the Antrea Agent: instead of exporting all flows periodically with a fixed interval, we introduce an "active timeout" and an "idle timeout", and flow information is exported differently based on flow activity. (, [@srikartati]) Add rate-limiting in the Agent for PacketIn messages sent by the OVS datapath: this can help limit the CPU usage when too many messages are sent by OVS. (, [@GraysonWu]) Output partial result when a Traceflow request initiated by antctl fails or times out, as it can still provide useful information. (, [@jianjuns]) Ensure that "antctl version" always outputs the client version, even when antctl cannot connect to the Antrea apiserver. (, [@antoninbas]) Extract the group member calculation for the NetworkPolicy implementation in the Controller to its own module, so it can be reused for different features which need to calculate groups of endpoints based on a given selection criteria; performance (CPU and memory usage) is also improved. (, [@tnqn]) Optimize the computation of unions of sets when processing NetworkPolicies in the Controller. (, [@tnqn]) Optimize the computation of symmetric differences of sets in the Agent (NodePortLocal) and in the Controller (NetworkPolicy

(, [@tnqn]) Move mutable ConfigMap resources out of the deployment YAML and create them programmatically instead; this facilitates integration with other projects such as kapp. (, [@hty690]) Improve error logs when the Antrea Agent's connection to the Controller times out, and introduce a dedicated health check in the Agent to report the connection status. (, [@hty690]) Support user-provided signed OVS binaries in Windows installation script. (, [@lzhecheng]) [Windows] When NodePortLocal is enabled on a Pod, do not allocate new ports on the host for Pod containers with HostPort enabled. (, [@annakhm]) Use "distroless" Docker image for the FlowAggregator to reduce its size. ( , [@hanlins] [@dreamtalen]) Improve reference Kibana dashboards for flow visualization and update the documentation for flow visualization with more up-to-date Kibana screenshots. (, [@zyiou]) Reject unsupported positional arguments in antctl commands. (, [@hty690]) Reduce log verbosity for PacketIn messages received by the Agent. (, [@jianjuns]) Improve Windows documentation to cover running Antrea as a Windows service, which is required when using containerd as the container runtime. (, [@lzhecheng] [@jayunit100]) [Windows] Update the documentation for hardware offload support. (, [@Mmduh-483]) Document IPv6 support for Traceflow. (, [@gran-vmv]) Remove old references to Ubuntu 18.04 from the documentation. (, [@shadowlan]) Fix audit logging on Windows Nodes: the log directory was not configured properly, causing Agent initialization to fail on Windows when the AntreaPolicy feature was enabled. (, [@antoninbas]) [Windows] When selecting the Pods corresponding to a Service for which NodePortLocal has been enabled, Pods should be filtered by Namespace. (, [@chauhanshubham]) Correctly handle Service Type changes for NodePortLocal, and update Pod annotations accordingly. (, [@chauhanshubham]) Use correct output format for CNI Add in networkPolicyOnly mode: this was not an issue with Docker but was causing failures with containerd. (, [@antoninbas] [@dantingl]) Fix audit logging of IPv6 traffic for Antrea-native policies: IPv6 packets were ignored by the Agent instead of being parsed and logged to file. (, [@antoninbas]) Fix the Traceflow implementation when the destination IP is an external IP or the local gateway's IP. (, [@antoninbas]) Fix a crash in the Agent when the FlowExporter initialization fails; instead of a crash it should try again the next time flow data needs to be exported. (, [@srikartati]) Add missing flows in OVS for IPv6 Traceflow support preventing Traceflow packets from bypassing conntrack. (, [@jianjuns]) Fix Status updates for ClusterNetworkPolicies. (, [@Dyanngg]) Clean up stale IP addresses on Antrea host gateway interface. (, [@antoninbas]) If a Node leaves and later rejoins a cluster, a new Pod CIDR may be allocated to the Node for each supported IP family and the gateway receives a new IP address (first address in the CIDR) If the previous addresses are not removed from the gateway, we observe connectivity issues across Nodes Update libOpenflow to avoid crash in Antrea Agent for certain Traceflow requests. (, [@antoninbas]) Fix the deletion of stale port forwarding iptables rules installed for NodePortLocal, occurring when the Antrea Agent restarts. (, [@monotosh-avi]) Fix output formatting for the "antctl trace-packet" command: the result was displayed as a Go struct variable and newline characters were not rendered, making it hard to read. (, [@jianjuns])