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

Add ability to use Fully Qualified Domain Names (FQDNs) in egress policy rules when defining Antrea-native policies: both exact matches and wildcards are supported. ( , [@Dyanngg] [@antoninbas] [@GraysonWu] [@madhukark] [@lzhecheng]) Add support for WireGuard to encrypt inter-Node Pod traffic (as an alternative to IPsec); traffic mode must be set to encap and the "tunnelType" option will be ignored. ( , [@xliuxu] [@tnqn]) Support for configurable transport interface for Pod traffic. (, [@wenyingd]) Use the "transportInterface" configuration parameter for the Antrea Agent to choose an interface by name; the default behavior is unchanged (interface to which the K8s Node IP is assigned is used) On Windows, SNAT is now performed by the host and no longer by OVS, to accommodate for this change [Windows] Support for dual-stack transport interfaces (the IPv4 and IPv6 addresses have to be assigned to the same interface); this in turn enables support for the noEncap traffic mode in dual-stack clusters. (, [@lzhecheng]) Add Status field to the ExternalIPPool CRD: it is used to report usage information for the pool (total number of IPs in the pool and number of IPs that are currently assigned). (, [@wenqiq]) Add Egress support for IPv6 and dual-stack clusters. ( , [@wenqiq]) Add ability to filter logs by timestamp with the "antctl supportbundle" command. (, [@hangyan] [@weiqiangt]) Support for IPv6 / dual-stack Kind clusters. (, [@adobley] [@christianang] [@gwang550]) Add support for sending JSON records from the Flow Aggregator instead of IPFIX records (which is still the default), as it can achieve better performance with Logstash. (, [@zyiou]) Support "--sort-by" flag for "antctl get networkpolicy" in Agent mode. (, [@antoninbas]) Remove the restriction that a ClusterGroup must exist before it can be used as a child group to define other ClusterGroups. (, [@Dyanngg]) Remove the restriction that a ClusterGroup must exist before it can be used in an Antrea ClusterNetworkPolicy. (, [@Dyanngg] [@abhiraut]) Remove "controlplane.antrea.tanzu.vmware.com/v1beta1" API as per our API deprecation policy. ( , [@luolanzone]) Controller responses to ClusterGroup membership queries ("/clustergroupmembers" API) now include the list of IPBlocks when appropriate. (, [@Dyanngg] [@abhiraut]) Install all Endpoint flows belonging to a Service via a single OpenFlow bundle, to reduce flow installation time when the Agent starts. (, [@tnqn]) Improve the batch installation of NetworkPolicy rules when the Agent starts: only generate flow operations based on final desired state instead of incrementally. (, [@tnqn] [@Dyanngg]) Use GroupMemberSet.Merge instead of GroupMemberSet.Union to reduce CPU usage and memory footprint in the Agent's policy

(, [@tnqn]) When checking for the existence of an iptables chain, stop listing all the chains and searching through them; this change reduces the Agent's memory footprint. (, [@tnqn]) Tolerate more failures for the Agent's readiness probe, as the Agent may stay disconnected from the Controller for a long time in some scenarios. (, [@tnqn]) Remove restriction that only GRE tunnels can be used when enabling IPsec: VXLAN can also be used, and so can Geneve (if the Linux kernel version for the Nodes is recent enough). (, [@luolanzone]) Automatically perform deduplication on NetworkPolicy audit logs for denied connections: all duplicate connections received within a 1 second buffer window will be merged and the corresponding log entry will include the connection count. ( , [@qiyueyao]) Support returning partial supportbundle results when some Nodes fail to respond. (, [@hangyan]) When listing NetworkPolicyStats through the Controller API, return an empty list if the `NetworkPolicyStats` Feature Gate is disabled, instead of returning an error. (, [@PeterEltgroth]) Update OVS version from 2.14.2 to 2.15.1: the new version fixes Geneve tunnel support in the userspace datapath (used for Kind clusters). (, [@antoninbas]) Update , [@srikartati] [@zyiou]) Support pretty-printing for AntreaAgentInfo and AntreaControllerInfo CRDs. (, [@antoninbas]) Improve the process of updating the Status of an Egress resource to report the name of the Node to which the Egress IP is assigned. (, [@wenqiq]) Change the singular name of the ClusterGroup CRD from "group" to "clustergroup". (, [@abhiraut]) Officially-supported Go version is no longer 1.15 but 1.17. ( , [@antoninbas]) There was a notable change in the implementation of the "ParseIP" and "ParseCIDR" functions, but Antrea users should not be affected; refer to this Standardize the process of reserving OVS register ranges and defining constant values for them; OVS registers are used to store per-packet information when required to implement specific features. (, [@wenyingd]) Update ELK stack reference configuration to support TCP transport. (, [@zyiou]) Update Windows installation instructions. (, [@lzheheng]) Update Antrea-native policies documentation to reflect the addition of the "kubernetes.io/metadata.name" in upstream K8s. (, [@abhiraut]) Default to containerd as the container runtime in the Vagrant-based test K8s cluster. (, [@stanleywbwong]) Update AllowToCoreDNS example in Antrea-native policies documentation. (, [@btrieger]) Update actions/setup-go to v2 in all Github workflows. (, [@MysteryBlokHed]) Fix panic in Agent when calculating the stats for a rule newly added to an existing NetworkPolicy. (, [@tnqn]) Fix bug in iptables rule installation for dual-stack clusters: if a rule was already present for one protocol but not the other, its installation may have been

(, [@lzhecheng]) Fix deadlock in the Agent's FlowExporter, between the export goroutine and the conntrack polling goroutine. (, [@srikartati]) Upgrade OVS version to 2.14.2-antrea.1 for Windows Nodes; this version of OVS is built on top of the upstream 2.14.2 release and also includes a patch to fix TCP checksum computation when the DNAT action is used. (, [@lzhecheng]) [Windows] Handle transient iptables-restore failures (caused by xtables lock contention) in the NodePortLocal initialization logic. (, [@antoninbas]) Query and check the list of features supported by the OVS datapath during Agent initialization: if any required feature is not supported, the Agent will log an error and crash, instead of continuing to run which makes it hard to troubleshoot such issues. (, [@tnqn]) On Linux, wait for the ovs-vswitchd PID file to be ready before running ovs-apptcl commands. (, [@tnqn]) Periodically delete stale connections in the Flow Exporter if they cannot be exported (e.g. because the collector is not available), to avoid running out-of-memory. (, [@srikartati]) Fix handling of the "reject" packets generated by the Antrea Agent in the OVS pipeline, to avoid infinite looping when traffic between two endpoints is rejected by network policies in both directions. (, [@GraysonWu]) Fix Linux kernel version parsing to accommodate for more Linux distributions, in particular RHEL / CentOS. (, [@Jexf]) Fix interface naming for IPsec tunnels: based on Node names, the first char could sometimes be a dash, which is not valid. (, [@luolanzone]) When creating an IPsec OVS tunnel port to a remote Node, handle the case where the port already exists but with a stale config graciously: delete the existing port first, then recreate it. (, [@luolanzone]) Fix the policy information reported by the Flow Exporter when a Baseline Antrea-native policy is applied to the flow. (, [@zyiou]) Clean up log files for the Flow Aggregator periodically: prior to this fix, the "--logfilemaxsize" and "--logfilemaxnum" command-line flags were ignore for the flow-aggregator Pod. (, [@srikartati]) Fix missing template ID when sending the first IPFIX flow record from the FlowAggregator. (, [@zyiou]) Ensure that the Windows Node name obtained from the environment or from hostname is converted to lower-case. (, [@shettyg]) [Windows] Fix Antrea network clean-up script for Windows; in particular remove Hyper-V binding on network adapter used as OVS uplink so that it can recover its IP address correctly. (, [@wenyingd]) [Windows] Fix reference Logstash configuration to avoid division by zero in throughput calculation. (, [@zyiou]) Fix nil pointer error when collecting a supportbundle on a Node for which the antrea-agent container image does not include "iproute2"; this does not affect the standard antrea/antrea-ubuntu container image. (, [@liu4480])