Listing Your IP Pools
You can list the IP pools that you have created. This action also returns information about your IP pools and the IPs they contain.
Listing Your IP Pools With kubectl
The kubectl get ippools command allows you to list the existing IP pools for a given cluster.
$ kubectl get ippools \
--output wide
This command contains the following option that you may need to specify:
-
(optional)
output: The output format for the response (json|yaml|wide). -
(optional)
watch: Allows to permanently watch the IP pools state changes.
The kubectl get ippools command returns the following elements:
-
declared addresses: The number of IPs in the IP pool. -
allocated addresses: The number of allocated IPs.IPs are allocated in batches of 5.
-
linked addresses: The number of linked IPs. -
unlinked addresses: The number of available IPs. -
last error: The last encountered error. By default,Noneif the configuration of the IP pool is valid.
NAME DECLARED ADDRESSES ALLOCATED ADDRESSES LINKED ADDRESSES UNLINKED ADDRESSES LAST ERROR
example-ip-pool-1 8 5 0 5 None
example-ip-pool-2 8 5 0 5 None
example-ip-pool-3 8 8 0 8 None
Related Pages