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
943b32a2
Commit
943b32a2
authored
Feb 22, 2019
by
Jordan Liggitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prepare switch from beta.kubernetes.io/kube-proxy-ds-ready to…
Prepare switch from beta.kubernetes.io/kube-proxy-ds-ready to node.kubernetes.io/kube-proxy-ds-ready
parent
d6664a23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
kube-proxy-ds.yaml
cluster/addons/kube-proxy/kube-proxy-ds.yaml
+1
-0
util.sh
cluster/gce/util.sh
+2
-1
No files found.
cluster/addons/kube-proxy/kube-proxy-ds.yaml
View file @
943b32a2
...
@@ -27,6 +27,7 @@ spec:
...
@@ -27,6 +27,7 @@ spec:
priorityClassName
:
system-node-critical
priorityClassName
:
system-node-critical
hostNetwork
:
true
hostNetwork
:
true
nodeSelector
:
nodeSelector
:
# TODO(liggitt): switch to node.kubernetes.io/kube-proxy-ds-ready in 1.16
beta.kubernetes.io/kube-proxy-ds-ready
:
"
true"
beta.kubernetes.io/kube-proxy-ds-ready
:
"
true"
tolerations
:
tolerations
:
-
operator
:
"
Exists"
-
operator
:
"
Exists"
...
...
cluster/gce/util.sh
View file @
943b32a2
...
@@ -590,7 +590,8 @@ function build-linux-node-labels {
...
@@ -590,7 +590,8 @@ function build-linux-node-labels {
if
[[
"
${
KUBE_PROXY_DAEMONSET
:-}
"
==
"true"
&&
"
${
master
}
"
!=
"true"
]]
;
then
if
[[
"
${
KUBE_PROXY_DAEMONSET
:-}
"
==
"true"
&&
"
${
master
}
"
!=
"true"
]]
;
then
# Add kube-proxy daemonset label to node to avoid situation during cluster
# Add kube-proxy daemonset label to node to avoid situation during cluster
# upgrade/downgrade when there are two instances of kube-proxy running on a node.
# upgrade/downgrade when there are two instances of kube-proxy running on a node.
node_labels
=
"beta.kubernetes.io/kube-proxy-ds-ready=true"
# TODO(liggitt): drop beta.kubernetes.io/kube-proxy-ds-ready in 1.16
node_labels
=
"node.kubernetes.io/kube-proxy-ds-ready=true,beta.kubernetes.io/kube-proxy-ds-ready=true"
fi
fi
if
[[
-n
"
${
NODE_LABELS
:-}
"
]]
;
then
if
[[
-n
"
${
NODE_LABELS
:-}
"
]]
;
then
node_labels
=
"
${
node_labels
:+
${
node_labels
}
,
}${
NODE_LABELS
}
"
node_labels
=
"
${
node_labels
:+
${
node_labels
}
,
}${
NODE_LABELS
}
"
...
...
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