Assigning an IP Pool to a Node Pool
You can assign an IP pool to a node pool.
Assigning an IP Pool
To assign an IP pool to a node pool, you need to add the ipPoolName
parameter to the spec
section using a node pool manifest. For more information about manifests, see Node Pool Manifest Reference.
Node Pool Manifest Sample
...
spec:
ipPoolName: example-ip-pool
...
The number of IP addresses must be equal or larger than the number of desired nodes, and multiplied by the number of zones. IP addresses are uniformly assigned to the nodes across all zones.
For example:
-
A node pool with 3 zones and with 2 desired nodes using an assigned IP pool of 8 IP addresses will have a total of 6 linked addresses and 2 unlinked addresses.
-
The same node pool with an assigned IP pool of 5 IP addresses will have 3 nodes with 3 linked addresses and 2 unlinked addresses.
Related Pages