You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update architecture doc for IPAM, Prometheus, and README for features (#3814)
Update the IPAM description and add Prometheus integration in the
architecture doc.
Update the encryption description in README and add a link to the
Features section of the getting-started doc.
Signed-off-by: Jianjun Shen <shenj@vmware.com>
to allocate IPs from the subnet to all local Pods. A local Pod is assigned an IP
162
+
By default, Antrea leverages Kubernetes' `NodeIPAMController` to allocate a
163
+
single subnet for each Kubernetes Node, and Antrea Agent on a Node allocates an
164
+
IP for each Pod on the Node from the Node's subnet. `NodeIPAMController` sets
165
+
the `podCIDR` field of the Kubernetes Node spec to the allocated subnet. Antrea
166
+
Agent retrieves the subnets of Nodes from the `podCIDR` field. It reserves the
167
+
first IP of the local Node's subnet to be the gateway IP and assigns it to the
168
+
`antrea-gw0` port, and invokes the [host-local IPAM plugin](https://github.com/containernetworking/plugins/tree/master/plugins/ipam/host-local)
169
+
to allocate IPs from the subnet to all Pods. A local Pod is assigned an IP
170
170
when the CNI ADD command is received for that Pod.
171
171
172
172
`NodeIPAMController` can run in `kube-controller-manager` context, or within
@@ -176,6 +176,10 @@ For every remote Node, Antrea Agent adds an OVS flow to send the traffic to that
176
176
Node through the appropriate tunnel. The flow matches the packets' destination
177
177
IP against each Node's subnet.
178
178
179
+
In addition to Kubernetes NodeIPAM, Antrea also implements its own IPAM feature,
180
+
which can allocate IPs for Pods from user-defined IP pools. For more
181
+
information, please refer to the [Antrea IPAM documentation](../antrea-ipam.md).
0 commit comments