PR updates

This commit is contained in:
James McCallum 2018-06-08 14:49:12 +10:00
parent c818a64367
commit bc9cb3a1cc
2 changed files with 0 additions and 10 deletions

View File

@ -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'

View File

@ -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 }}