mirror of https://github.com/easzlab/kubeasz.git
parent
5314315ca3
commit
bbed72b9f3
|
@ -42,6 +42,8 @@ https://www.toutiao.com/c/user/token/MS4wLjABAAAA0YFomuMNm87NNysXeUsQdI0Tt3gOgz8
|
|||
- fix:restart ex-lb when master nodes change
|
||||
- fix:多条默认路由网卡自动识别问题
|
||||
- fix:安装aio集群时docker cgroupdriver设置问题
|
||||
- fix:add scheme:https to service-account-issuer
|
||||
- fix:容器化aio安装时选择containerd运行时失败
|
||||
- feat:增加可选配置apiserver安全端口
|
||||
- feat:允许修改配置ingress port #999
|
||||
- feat:增加支持ubuntu 20.04
|
||||
|
|
|
@ -2,10 +2,16 @@
|
|||
shell: 'systemctl status docker|grep Active || echo "NOT FOUND"'
|
||||
register: docker_status
|
||||
|
||||
- name: 停止docker
|
||||
shell: 'systemctl stop docker'
|
||||
- name: WARNNING 提示
|
||||
debug:
|
||||
msg: "[WARN]: docker is running, and containerd will be installed"
|
||||
when: '"running" in docker_status.stdout'
|
||||
|
||||
- name: 获取是否已经安装containerd
|
||||
shell: 'systemctl status containerd|grep Active || echo "NoFound"'
|
||||
register: containerd_svc
|
||||
|
||||
- block:
|
||||
- name: 准备containerd相关目录
|
||||
file: name={{ item }} state=directory
|
||||
with_items:
|
||||
|
@ -60,3 +66,4 @@
|
|||
state: present
|
||||
regexp: 'crictl completion'
|
||||
line: 'source <(crictl completion)'
|
||||
when: "'running' not in containerd_svc.stdout"
|
||||
|
|
Loading…
Reference in New Issue