mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2024-11-18 19:10:39 +01:00
PR updates
This commit is contained in:
parent
c818a64367
commit
bc9cb3a1cc
@ -35,12 +35,6 @@
|
||||
path: /etc/kubernetes/admin.conf
|
||||
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.
|
||||
- include_tasks: master-setup.yml
|
||||
when: kubernetes_role == 'master'
|
||||
|
@ -1,8 +1,4 @@
|
||||
---
|
||||
- name: print join command
|
||||
debug:
|
||||
msg: "{{ kubernetes_join_command }}"
|
||||
|
||||
- name: Join node to Kubernetes master
|
||||
shell: >
|
||||
{{ kubernetes_join_command.stdout }}
|
||||
|
Loading…
Reference in New Issue
Block a user