Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
0794a866
Commit
0794a866
authored
8 years ago
by
Matthew Mosesohn
Browse files
Options
Downloads
Patches
Plain Diff
switch debian8-canal-ha to ubuntu
parent
49e4d344
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
roles/kubernetes/master/tasks/main.yml
+2
-0
2 additions, 0 deletions
roles/kubernetes/master/tasks/main.yml
roles/kubernetes/master/tasks/pre-upgrade.yml
+9
-1
9 additions, 1 deletion
roles/kubernetes/master/tasks/pre-upgrade.yml
with
17 additions
and
7 deletions
.gitlab-ci.yml
+
6
−
6
View file @
0794a866
...
...
@@ -260,10 +260,10 @@ before_script:
BOOTSTRAP_OS
:
coreos
RESOLVCONF_MODE
:
host_resolvconf
# This is required as long as the CoreOS stable channel uses docker < 1.12
.
debian8
_canal_ha_variables
:
&
debian8
_canal_ha_variables
.
ubuntu
_canal_ha_variables
:
&
ubuntu
_canal_ha_variables
# stage: deploy-gce-part1
KUBE_NETWORK_PLUGIN
:
canal
CLOUD_IMAGE
:
debian-8-kubespray
CLOUD_IMAGE
:
ubuntu-1604-xenial
CLOUD_REGION
:
europe-west1-b
UPGRADE_TEST
:
"
basic"
CLUSTER_MODE
:
ha
...
...
@@ -416,24 +416,24 @@ ubuntu-weave-sep-triggers:
only
:
[
'
triggers'
]
# More builds for PRs/merges (manual) and triggers (auto)
debian8
-canal-ha
:
ubuntu
-canal-ha
:
stage
:
deploy-gce-part1
<<
:
*job
<<
:
*gce
variables
:
<<
:
*gce_variables
<<
:
*
debian8
_canal_ha_variables
<<
:
*
ubuntu
_canal_ha_variables
when
:
manual
except
:
[
'
triggers'
]
only
:
[
'
master'
,
/^pr-.*$/
]
debian8
-canal-ha-triggers
:
ubuntu
-canal-ha-triggers
:
stage
:
deploy-gce-part1
<<
:
*job
<<
:
*gce
variables
:
<<
:
*gce_variables
<<
:
*
debian8
_canal_ha_variables
<<
:
*
ubuntu
_canal_ha_variables
when
:
on_success
only
:
[
'
triggers'
]
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes/master/tasks/main.yml
+
2
−
0
View file @
0794a866
...
...
@@ -52,6 +52,8 @@
-
name
:
Create kube system namespace
command
:
"
{{
bin_dir
}}/kubectl
create
-f
{{kube_config_dir}}/{{system_namespace}}-ns.yml"
retries
:
4
delay
:
"
{{
retry_stagger
|
random
+
3
}}"
changed_when
:
False
when
:
kubesystem|failed and inventory_hostname == groups['kube-master'][0]
tags
:
apps
...
...
This diff is collapsed.
Click to expand it.
roles/kubernetes/master/tasks/pre-upgrade.yml
+
9
−
1
View file @
0794a866
...
...
@@ -95,5 +95,13 @@
delegate_to
:
"
{{item}}"
with_items
:
"
{{groups['etcd']}}"
when
:
needs_etcd_migration|bool
notify
:
"
Master
|
reload
kubelet"
-
name
:
"
Pre-upgrade
|
restart
kubelet
on
all
masters"
service
:
name
:
kubelet
state
:
restarted
delegate_to
:
"
{{item}}"
with_items
:
"
{{groups['kube-master']}}"
register
:
kube_apiserver_manifest_replaced
when
:
needs_etcd_migration|bool
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment