Browse Source
Merge pull request #3342 from okamototk/fix_path_for_kubeadm_join
Add kubelet path for kubeadm.
pull/3280/head
k8s-ci-robot
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
roles/kubernetes/kubeadm/tasks/main.yml
|
|
@ -57,6 +57,8 @@ |
|
|
|
--ignore-preflight-errors=all |
|
|
|
register: kubeadm_join |
|
|
|
when: not is_kube_master and (not kubelet_conf.stat.exists) |
|
|
|
environment: |
|
|
|
PATH: "{{ bin_dir }}:{{ ansible_env.PATH }}" |
|
|
|
|
|
|
|
- name: Wait for kubelet bootstrap to create config |
|
|
|
wait_for: |
|
|
|