-
Notifications
You must be signed in to change notification settings - Fork 138
Add tip: set --allocate-node-cidrs=false with Calico IPAM #2589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses $[prodname]’s IP pool resource to control how | |
|
|
||
| By default, $[prodname] uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools $[prodname] uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses $[prodname]’s IP pool resource to control how | |
|
|
||
| By default, $[prodname] uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools $[prodname] uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses $[prodname]’s IP pool resource to control how | |
|
|
||
| By default, $[prodname] uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools $[prodname] uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses $[prodname]’s IP pool resource to control how | |
|
|
||
| By default, $[prodname] uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools $[prodname] uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses $[prodname]’s IP pool resource to control how | |
|
|
||
| By default, $[prodname] uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools $[prodname] uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses $[prodname]’s IP pool resource to control how | |
|
|
||
| By default, $[prodname] uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools $[prodname] uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses $[prodname]’s IP pool resource to control how | |
|
|
||
| By default, $[prodname] uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools $[prodname] uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses Calico’s IP pool resource to control how IP ad | |
|
|
||
| By default, Calico uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools Calico uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses Calico’s IP pool resource to control how IP ad | |
|
|
||
| By default, Calico uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools Calico uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses Calico’s IP pool resource to control how IP ad | |
|
|
||
| By default, Calico uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools Calico uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,16 @@ The **calico-ipam** plugin uses Calico’s IP pool resource to control how IP ad | |
|
|
||
| By default, Calico uses a single IP pool for the entire Kubernetes pod CIDR, but you can divide the pod CIDR into several pools. You can assign separate IP pools to particular selections of **nodes**, or to teams, users, or applications within a cluster using **namespaces**. | ||
|
|
||
| :::tip | ||
|
|
||
| Because Calico IPAM does not use the Kubernetes node CIDR allocations (`Node.spec.podCIDR`), you can set `--allocate-node-cidrs=false` on the kube-controller-manager. | ||
| This prevents Kubernetes from allocating unused node CIDRs and avoids `CIDRNotAvailable` events on nodes. | ||
|
|
||
| If you bootstrapped your cluster with kubeadm and passed `--pod-network-cidr`, kubeadm enables node CIDR allocation automatically. | ||
| See the [Kubernetes documentation](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-reconfigure/) for instructions on reconfiguring the controller manager after cluster creation. | ||
|
Comment on lines
+29
to
+33
|
||
|
|
||
| ::: | ||
|
|
||
| You can control which pools Calico uses for each pod using | ||
|
|
||
| - node selectors | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to rephrase this - it sort of implies that you shouldn't pass pod-network-cidr, but that argument is useful for other reasons.