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
403697be
Commit
403697be
authored
Nov 04, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Nov 04, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #36214 from jszczepkowski/fix-master-kubelet
Automatic merge from submit-queue Fixed not registering master during cluster creation.
parents
0a86b5ec
5e8c5693
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
util.sh
cluster/gce/util.sh
+5
-1
No files found.
cluster/gce/util.sh
View file @
403697be
...
@@ -776,7 +776,11 @@ function create-master() {
...
@@ -776,7 +776,11 @@ function create-master() {
create-static-ip
"
${
MASTER_NAME
}
-ip"
"
${
REGION
}
"
create-static-ip
"
${
MASTER_NAME
}
-ip"
"
${
REGION
}
"
MASTER_RESERVED_IP
=
$(
gcloud compute addresses describe
"
${
MASTER_NAME
}
-ip"
\
MASTER_RESERVED_IP
=
$(
gcloud compute addresses describe
"
${
MASTER_NAME
}
-ip"
\
--project
"
${
PROJECT
}
"
--region
"
${
REGION
}
"
-q
--format
=
'value(address)'
)
--project
"
${
PROJECT
}
"
--region
"
${
REGION
}
"
-q
--format
=
'value(address)'
)
KUBELET_APISERVER
=
"
${
MASTER_RESERVED_IP
}
"
if
[[
"
${
REGISTER_MASTER_KUBELET
:-}
"
==
"true"
]]
;
then
KUBELET_APISERVER
=
"
${
MASTER_RESERVED_IP
}
"
fi
KUBERNETES_MASTER_NAME
=
"
${
MASTER_RESERVED_IP
}
"
KUBERNETES_MASTER_NAME
=
"
${
MASTER_RESERVED_IP
}
"
create-certs
"
${
MASTER_RESERVED_IP
}
"
create-certs
"
${
MASTER_RESERVED_IP
}
"
...
...
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