Merge pull request #786 from mattymo/bug777

Add wait for kube-apiserver to kubernetes-apps
pull/798/head
Bogdan Dobrelya 2016-12-22 11:02:50 +01:00 committed by GitHub
commit de8cd5cd7f
1 changed files with 7 additions and 0 deletions

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: