Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
e029f952
Commit
e029f952
authored
Jun 21, 2016
by
Wojciech Tyczynski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix not-ready master node after upgrade.
parent
ee28e1eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
upgrade.sh
cluster/gce/upgrade.sh
+1
-10
No files found.
cluster/gce/upgrade.sh
View file @
e029f952
...
...
@@ -74,6 +74,7 @@ function upgrade-master() {
get-kubeconfig-bearertoken
detect-master
parse-master-env
# Delete the master instance. Note that the master-pd is created
# with auto-delete=no, so it should not be deleted.
...
...
@@ -120,7 +121,6 @@ function prepare-upgrade() {
tars_from_version
}
# Reads kube-env metadata from first node in NODE_NAMES.
#
# Assumed vars:
...
...
@@ -134,15 +134,6 @@ function get-node-env() {
'http://metadata/computeMetadata/v1/instance/attributes/kube-env'"
2>/dev/null
}
# Using provided node env, extracts value from provided key.
#
# Args:
# $1 node env (kube-env of node; result of calling get-node-env)
# $2 env key to use
function
get-env-val
()
{
echo
"
${
1
}
"
|
grep
${
2
}
|
cut
-d
:
-f
2 |
cut
-d
\'
-f
2
}
# Assumed vars:
# KUBE_VERSION
# NODE_SCOPES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment