kuberneets 1.17 installation calico 3.11

Before installing confirm Requirement 

https://docs.projectcalico.org/v3.11/getting-started/kubernetes/requirements

The main increase in the kublet startup parameters --network-plugin = cni

 

The actual installation process reference

https://docs.projectcalico.org/v3.11/getting-started/kubernetes/installation/calico

 

Then install calicoctl

https://docs.projectcalico.org/v3.11/getting-started/kubernetes/hardway/the-calico-datastore#calicoctl

 

View ippool and node status by calicoctl 

https://docs.projectcalico.org/v3.11/getting-started/kubernetes/hardway/configure-ip-pools

 

Test network environment

https://docs.projectcalico.org/v3.11/getting-started/kubernetes/hardway/test-networking

 

Test networkpolicy

https://docs.projectcalico.org/v3.11/getting-started/kubernetes/hardway/test-network-policy

 

Reference links 

https://mritd.me/2017/07/31/calico-yml-bug/

https://www.jianshu.com/p/5e9e2e5312d9

https://www.kubernetes.org.cn/4960.html

 

Guess you like

Origin www.cnblogs.com/xuchenCN/p/12164778.html