[test do not merge] debug failed rkt deploy
This commit is contained in:
parent
a39e78d42d
commit
389af5d41d
2 changed files with 9 additions and 2 deletions
|
@ -355,7 +355,7 @@ before_script:
|
||||||
.ubuntu_rkt_sep_variables: &ubuntu_rkt_sep_variables
|
.ubuntu_rkt_sep_variables: &ubuntu_rkt_sep_variables
|
||||||
# stage: deploy-gce-part1
|
# stage: deploy-gce-part1
|
||||||
KUBE_NETWORK_PLUGIN: flannel
|
KUBE_NETWORK_PLUGIN: flannel
|
||||||
CLOUD_IMAGE: ubuntu-1604-xenial
|
CLOUD_IMAGE: ubuntu-1604-xenial-v20170811
|
||||||
CLOUD_REGION: us-central1-b
|
CLOUD_REGION: us-central1-b
|
||||||
CLUSTER_MODE: separate
|
CLUSTER_MODE: separate
|
||||||
ETCD_DEPLOYMENT: rkt
|
ETCD_DEPLOYMENT: rkt
|
||||||
|
|
|
@ -18,11 +18,18 @@
|
||||||
|
|
||||||
- debug: msg="{{get_pods.stdout}}"
|
- debug: msg="{{get_pods.stdout}}"
|
||||||
|
|
||||||
|
- name: Get info on all resources
|
||||||
|
shell: "{{bin_dir}}/kubectl get all --all-namespaces -oyaml"
|
||||||
|
register: get_deployments
|
||||||
|
|
||||||
|
- debug: msg="{{get_deployments.stdout}}"
|
||||||
|
|
||||||
|
|
||||||
- name: Get pod names
|
- name: Get pod names
|
||||||
shell: "{{bin_dir}}/kubectl get pods -o json"
|
shell: "{{bin_dir}}/kubectl get pods -o json"
|
||||||
register: pods
|
register: pods
|
||||||
until: '"ContainerCreating" not in pods.stdout'
|
until: '"ContainerCreating" not in pods.stdout'
|
||||||
retries: 60
|
retries: 600
|
||||||
delay: 2
|
delay: 2
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue