Skip to content

Commit fa3eeda

Browse files
author
Rahul Sharma
committed
update docs, add kube-controller-manager flag which should not be set
1 parent bde0667 commit fa3eeda

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/configuration/nodeipam.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ spec:
1515
- --cluster-cidr=10.192.0.0/10
1616
```
1717
18-
Once enabled, CCM will manage and allocate pod CIDRs to nodes. Make sure node IPAM allocation is disabled in kube-controller-manager to avoid both controllers competing to assign CIDRs to nodes.
18+
Once enabled, CCM will manage and allocate pod CIDRs to nodes.
19+
20+
Note:
21+
Make sure node IPAM allocation is disabled in kube-controller-manager to avoid both controllers competing to assign CIDRs to nodes. To make sure its disabled, check and make sure kube-controller-manager is not started with `--allocate-node-cidrs` flag.
1922

2023
## Allocated subnet size
2124
By default, CCM allocates /24 subnet for ipv4 addresses and /64 for ipv6 addresses to nodes. If one wants different subnet range, it can be configured by using `--node-cidr-mask-size-ipv4` and `--node-cidr-mask-size-ipv6` flags.

0 commit comments

Comments
 (0)