update calico instructions (#10368)
Calico CALICO_IPV4POOL_CIDR must match pod-network-cidr every time, not only for network policy.
This commit is contained in:
committed by
k8s-ci-robot
parent
e2e8fb58b8
commit
1564ef769f
@@ -260,7 +260,7 @@ Please select one of the tabs to see installation instructions for the respectiv
|
|||||||
{{% tab name="Calico" %}}
|
{{% tab name="Calico" %}}
|
||||||
For more information about using Calico, see [Quickstart for Calico on Kubernetes](https://docs.projectcalico.org/latest/getting-started/kubernetes/), [Installing Calico for policy and networking](https://docs.projectcalico.org/latest/getting-started/kubernetes/installation/calico), and other related resources.
|
For more information about using Calico, see [Quickstart for Calico on Kubernetes](https://docs.projectcalico.org/latest/getting-started/kubernetes/), [Installing Calico for policy and networking](https://docs.projectcalico.org/latest/getting-started/kubernetes/installation/calico), and other related resources.
|
||||||
|
|
||||||
In order for Network Policy to work correctly, you need to pass `--pod-network-cidr=192.168.0.0/16` to `kubeadm init`. Note that Calico works on `amd64` only.
|
For Calico to work correctly, you need to pass `--pod-network-cidr=192.168.0.0/16` to `kubeadm init` or update the `calico.yml` file to match your Pod network. Note that Calico works on `amd64` only.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl apply -f https://docs.projectcalico.org/v3.1/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml
|
kubectl apply -f https://docs.projectcalico.org/v3.1/getting-started/kubernetes/installation/hosted/rbac-kdd.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user