coreos / coreos-kubernetes

CoreOS Container Linux+Kubernetes documentation & Vagrant installers
https://coreos.com/kubernetes/docs/latest/
Apache License 2.0
1.1k stars 466 forks source link

[Doc] Deadlink for "Set up the CNI config" #814

Open hvnsweeting opened 7 years ago

hvnsweeting commented 7 years ago

This link is not up-to-date https://github.com/coreos/coreos-kubernetes/blob/master/Documentation/deploy-master.md#set-up-the-cni-config-optional and I cannot find where it should point to in current doc.

There is a section that might relates: Set Up Calico For Network Policy (optional) but I'm not sure as that is just using Calico for Network policy, not whole network.

And does using flannel plugin will require set --network-plugins=cni? as I deleted the option , my setup back to use network that starts with 172...

The doc said:

If using Calico for network policy

    Replace ${NETWORK_PLUGIN} with cni
    Add the following to RKT_OPS= --volume cni-bin,kind=host,source=/opt/cni/bin \ --mount volume=cni-bin,target=/opt/cni/bin
    Add ExecStartPre=/usr/bin/mkdir -p /opt/cni/bin

Then what to set for ${NETWORK_PLUGIN} if I don't use Calico.

The problem is same with worker doc: https://coreos.com/kubernetes/docs/latest/deploy-workers.html#set-up-the-cni-config-optional

Thanks

ghost commented 7 years ago

Part of this is dealt with in #827.

ghost commented 7 years ago

For the worker documentation, there is actually no section about CNI at all.