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
aa00afe2
Unverified
Commit
aa00afe2
authored
Feb 11, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 11, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73649 from ojmhetar/coredns-priorityclass
Add priority class to CoreDNS pods
parents
f5073439
ebb5b943
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
0 deletions
+5
-0
coredns.yaml.base
cluster/addons/dns/coredns/coredns.yaml.base
+1
-0
coredns.yaml.in
cluster/addons/dns/coredns/coredns.yaml.in
+1
-0
coredns.yaml.sed
cluster/addons/dns/coredns/coredns.yaml.sed
+1
-0
manifests.go
cmd/kubeadm/app/phases/addons/dns/manifests.go
+2
-0
No files found.
cluster/addons/dns/coredns/coredns.yaml.base
View file @
aa00afe2
...
@@ -106,6 +106,7 @@ spec:
...
@@ -106,6 +106,7 @@ spec:
annotations:
annotations:
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
spec:
spec:
priorityClassName: system-cluster-critical
serviceAccountName: coredns
serviceAccountName: coredns
tolerations:
tolerations:
- key: "CriticalAddonsOnly"
- key: "CriticalAddonsOnly"
...
...
cluster/addons/dns/coredns/coredns.yaml.in
View file @
aa00afe2
...
@@ -106,6 +106,7 @@ spec:
...
@@ -106,6 +106,7 @@ spec:
annotations:
annotations:
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
spec:
spec:
priorityClassName: system-cluster-critical
serviceAccountName: coredns
serviceAccountName: coredns
tolerations:
tolerations:
- key: "CriticalAddonsOnly"
- key: "CriticalAddonsOnly"
...
...
cluster/addons/dns/coredns/coredns.yaml.sed
View file @
aa00afe2
...
@@ -106,6 +106,7 @@ spec:
...
@@ -106,6 +106,7 @@ spec:
annotations:
annotations:
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
spec:
spec:
priorityClassName: system
-
c
luster-critical
s
e
rvic
e
AccountNam
e
:
coredns
s
e
rvic
e
AccountNam
e
:
coredns
to
l
er
a
tions:
to
l
er
a
tions:
-
ke
y
:
"CriticalAddonsOnly"
-
ke
y
:
"CriticalAddonsOnly"
...
...
cmd/kubeadm/app/phases/addons/dns/manifests.go
View file @
aa00afe2
...
@@ -43,6 +43,7 @@ spec:
...
@@ -43,6 +43,7 @@ spec:
labels:
labels:
k8s-app: kube-dns
k8s-app: kube-dns
spec:
spec:
priorityClassName: system-cluster-critical
volumes:
volumes:
- name: kube-dns-config
- name: kube-dns-config
configMap:
configMap:
...
@@ -235,6 +236,7 @@ spec:
...
@@ -235,6 +236,7 @@ spec:
labels:
labels:
k8s-app: kube-dns
k8s-app: kube-dns
spec:
spec:
priorityClassName: system-cluster-critical
serviceAccountName: coredns
serviceAccountName: coredns
tolerations:
tolerations:
- key: CriticalAddonsOnly
- key: CriticalAddonsOnly
...
...
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