Author Archives: Tom Schwaller
Author Archives: Tom Schwaller
Welcome to this new new blog post series about Container Networking with Antrea. In this blog, we’ll take a look at the Egress
feature and show how to implement it on vSphere with Tanzu.
According to the official Antrea documentation Egress
is a Kubernetes Custom Resource Definition (CRD) which allows you to specify which Egress
(SNAT) IP the traffic from the selected Pods to the external network should use. When a selected Pod accesses the external network, the Egress
traffic will be tunneled to the Node that hosts the Egress
IP if it’s different from the Node that the Pod runs on and will be SNATed to the Egress
IP when leaving that Node. You can see the traffic flow in the following picture.
When the Egress
IP is allocated from an externalIPPool
, Antrea even provides automatic high availability; i.e. if the Node hosting the Egress
IP fails, another node will be elected from the remaining Nodes selected by the nodeSelector
of the externalIPPool
.
Note: The standby node will not only take over the IP but also send a layer 2 advertisement (e.g. Gratuitous ARP for IPv4) to notify the other hosts and routers on the Continue reading