mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-23 19:06:33 +01:00
PR updates
This commit is contained in:
parent
c818a64367
commit
bc9cb3a1cc
@ -35,12 +35,6 @@
|
|||||||
path: /etc/kubernetes/admin.conf
|
path: /etc/kubernetes/admin.conf
|
||||||
register: kubernetes_init_stat
|
register: kubernetes_init_stat
|
||||||
|
|
||||||
- name: configure docker cgroup driver
|
|
||||||
shell: sed -i "s/cgroup-driver=systemd/cgroup-driver=cgroupfs/g" /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
|
|
||||||
|
|
||||||
- name: restart docker services
|
|
||||||
shell: systemctl daemon-reload && service kubelet restart
|
|
||||||
|
|
||||||
# Set up master.
|
# Set up master.
|
||||||
- include_tasks: master-setup.yml
|
- include_tasks: master-setup.yml
|
||||||
when: kubernetes_role == 'master'
|
when: kubernetes_role == 'master'
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: print join command
|
|
||||||
debug:
|
|
||||||
msg: "{{ kubernetes_join_command }}"
|
|
||||||
|
|
||||||
- name: Join node to Kubernetes master
|
- name: Join node to Kubernetes master
|
||||||
shell: >
|
shell: >
|
||||||
{{ kubernetes_join_command.stdout }}
|
{{ kubernetes_join_command.stdout }}
|
||||||
|
Loading…
Reference in New Issue
Block a user