Add wait for kube-apiserver to kubernetes-apps

Fixes #777
This commit is contained in:
Matthew Mosesohn 2016-12-20 18:44:39 +03:00
parent e7d78fc7d7
commit b1eb852207

View file

@ -1,4 +1,11 @@
--- ---
- name: Kubernetes Apps | Wait for kube-apiserver
uri: url=http://localhost:8080/healthz
register: result
until: result.status == 200
retries: 10
delay: 6
- name: Kubernetes Apps | Lay Down KubeDNS Template - name: Kubernetes Apps | Lay Down KubeDNS Template
template: src={{item.file}} dest={{kube_config_dir}}/{{item.file}} template: src={{item.file}} dest={{kube_config_dir}}/{{item.file}}
with_items: with_items: