Skip to content
Snippets Groups Projects
Commit 617edda9 authored by Matthew Mosesohn's avatar Matthew Mosesohn
Browse files

Adjust weave daemonset for serial deployment

parent 97ebbb96
No related branches found
No related tags found
No related merge requests found
......@@ -262,7 +262,6 @@ before_script:
KUBE_NETWORK_PLUGIN: weave
CLOUD_IMAGE: rhel-7
CLOUD_REGION: europe-west1-b
UPGRADE_TEST: "graceful"
CLUSTER_MODE: default
.centos7_flannel_variables: &centos7_flannel_variables
......@@ -278,6 +277,7 @@ before_script:
CLOUD_IMAGE: debian-8-kubespray
CLOUD_REGION: us-central1-b
CLUSTER_MODE: default
UPGRADE_TEST: "graceful"
.coreos_canal_variables: &coreos_canal_variables
# stage: deploy-gce-part2
......@@ -328,6 +328,7 @@ before_script:
CLUSTER_MODE: separate
ETCD_DEPLOYMENT: rkt
KUBELET_DEPLOYMENT: rkt
UPGRADE_TEST: "graceful"
.ubuntu_vault_sep_variables: &ubuntu_vault_sep_variables
# stage: deploy-gce-part1
......@@ -540,7 +541,7 @@ coreos-alpha-weave-ha:
except: ['triggers']
only: ['master', /^pr-.*$/]
ubuntu-rkt-sep:
ubuntu-rkt-sep-upgrade:
stage: deploy-gce-part1
<<: *job
<<: *gce
......
#FIXME: remove if kubernetes/features#124 is implemented
- name: Weave | Purge old weave daemonset
run_once: true
kube:
name: "weave-net"
kubectl: "{{ bin_dir }}/kubectl"
......@@ -12,7 +11,6 @@
- name: Weave | Start Resources
run_once: true
kube:
name: "weave-net"
kubectl: "{{ bin_dir }}/kubectl"
......@@ -21,17 +19,16 @@
namespace: "{{system_namespace}}"
state: "{{ item | ternary('latest','present') }}"
with_items: "{{ weave_manifest.changed }}"
delegate_to: "{{groups['kube-master'][0]}}"
when: inventory_hostname == groups['kube-master'][0]
- name: "Weave | wait for weave to become available"
uri:
url: http://127.0.0.1:6784/status
return_content: yes
run_once: true
register: weave_status
retries: 12
retries: 180
delay: 10
until: "{{ weave_status.status == 200 and
'Status: ready' in weave_status.content }}"
delegate_to: "{{groups['kube-master'][0]}}"
when: inventory_hostname == groups['kube-master'][0]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment