kubeasz
kubeasz copied to clipboard
python3环境安装执行ezctl setup k8s-01 all ansible报错
问题:脚本roles/kube-node/tasks/node_lb.yml在线安装haproxy报错,fatal: [172.17.166.12]: FAILED! => {"changed": false, "msg": "The Python 2 yum module is needed for this module. If you require Python 3 support use the dnf
Ansible module instead."}
解决:修改oles/kube-node/tasks/node_lb.yml中package为dnf安装成功
建议:请针对python3做一个兼容
OK,不过新版本里面node_lb不需要haproxy了
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.