y32.第三章 Kubernetes从入门到精通 -- k8s集群环境搭建(五)

2.4 ansible部署

2.4.1 基础环境准备

项目地址:https://github.com/easzlab/kubeasz

集群规划和基础参数设定:https://github.com/easzlab/kubeasz/blob/master/docs/setup/00-planning_and_overall_intro.md

2.4.1.1 安装ansible

root@k8s-deploy:~# apt -y install python3-pip

root@k8s-deploy:~# pip3 install ansible -i https://mirrors.aliyun.com/pypi/simple/

root@k8s-deploy:~# ansible --version
ansible [core 2.12.5]
  config file = /etc/ansible/ansible.cfg
  configured module search path = 

猜你喜欢

转载自blog.csdn.net/qq_25599925/article/details/124463194