-
编辑
/etc/kubez/globals.yml
-
取消
enable_chaos_mesh: "no"
的注释,并设置为"yes"
#################### # Chaos Mesh Options #################### enable_chaos_mesh: "yes" #chaos_mesh_name: chaos-mesh #chaos_mesh_namespace: "{{ kubez_namespace }}"
-
执行安装命令(根据实际情况选择)
# 单节点集群场景 kubez-ansible apply # 高可用集群场景 kubez-ansible -i multinode apply
-
部署完验证
# kubectl get pod -n pixiu-system chaos-controller-manager-6f75cdf4f9-62fmh 0/1 ContainerCreating 0 6m24s chaos-controller-manager-6f75cdf4f9-klxq2 0/1 ContainerCreating 0 6m24s chaos-controller-manager-6f75cdf4f9-mpvfd 0/1 ContainerCreating 0 6m24s chaos-daemon-mpqkx 0/1 ContainerCreating 0 6m24s chaos-daemon-znpxg 0/1 ContainerCreating 0 6m24s chaos-dashboard-7684ff75f4-67lrd 0/1 ContainerCreating 0 6m24s chaos-dns-server-76d5d8f776-pbpj7 0/1 ContainerCreating 0 6m24s