【文件属性】:
文件名称:ankube:ansible安装高可用kubernetes扩展,支持二进制和kubeadm方式
文件大小:5.27MB
文件格式:ZIP
更新时间:2021-04-02 17:55:28
Python
ansible安装kubernetes高可用积累
支持binary和kubeadm两种方式
1.准备
1.1安装ansible
Centos 7:
curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum install -y ansible
的Ubuntu的:
apt-get update && apt-get install -y ansible
安装ansible统计任务处理时间插件
mkdir /etc/ansible/callback_plugins
wget -P /etc/ansible/callback_plugins https://raw.githubusercontent.com/jlafon/ansible-profile/master/callback