calico
tar -zxvf calico-release-v3.28.0.tgz
1.修改pod网络地址
vim /apps/k8s/release-v3.28.0/manifests/calico.yaml
2.镜像
cat calico.yaml | grep image:
cd /apps/k8s/release-v3.28.0/images/ nerdctl load -i calico-cni.tar nerdctl load -i calico-node.tar nerdctl load -i calico-kube-controllers.tar
#执行安装 在master上 cd /apps/k8s/release-v3.28.0/manifests/ kubectl apply -f calico.yaml
3.验证
kubectl run nginx11 --image=harbor.hiuiu.com/basic_image/centos7_filebeat_nginx:2408.u sleep 10000 kubectl run nginx22 --image=harbor.hiuiu.com/basic_image/centos7_filebeat_nginx:2408.u sleep 10000 kubectl get pod -o wide
kubectl exec nginx11 -it bash ping nginx22