-
编辑
/etc/kubez/globals.yml
-
取消
enable_cilium: "no"
的注释,并设置为"yes"
,设置Cilium的版本cilium_chart_version: "1.16.1"
################ # Cilium Options ################ enable_cilium: "yes" cilium_chart_version: "1.14.5"
-
执行安装命令(根据实际情况选择)
# 单节点集群场景 kubez-ansible apply # 高可用集群场景 kubez-ansible -i multinode apply
-
部署完验证
[root@VM-16-11-centos ~]# kubectl get pods -n kube-system NAME READY STATUS RESTARTS AGE cilium-operator-cb4578bc5-q52qk 1/1 Running 0 4m13s cilium-s8w5m 1/1 Running 0 4m12s