Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix priorityClassName typo, add numeric priority to static pods #89970

Merged
merged 1 commit into from
Apr 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cluster/gce/manifests/etcd-empty-dir-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
k8s-app: etcd-empty-dir-cleanup
spec:
priorityClassName: system-node-critical
priority: 2000001000
hostNetwork: true
dnsPolicy: Default
containers:
Expand Down
3 changes: 2 additions & 1 deletion cluster/gce/manifests/etcd.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
}
},
"spec":{
"priorityClass": "system-node-critical",
"priorityClassName": "system-node-critical",
"priority": 2000001000,
"hostNetwork": true,
"containers":[
{
Expand Down
2 changes: 2 additions & 0 deletions cluster/gce/manifests/glbc.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ metadata:
k8s-app: gcp-lb-controller
kubernetes.io/name: "GLBC"
spec:
priorityClassName: system-node-critical
priority: 2000001000
terminationGracePeriodSeconds: 600
hostNetwork: true
containers:
Expand Down
3 changes: 2 additions & 1 deletion cluster/gce/manifests/konnectivity-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ metadata:
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
component: konnectivity-server
spec:
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @caesarxuchao, since this is using UDS, it needs to run on this node (can't be rescheduled to another node)

priority: 2000001000
hostNetwork: true
containers:
- name: konnectivity-server-container
Expand Down
1 change: 1 addition & 0 deletions cluster/gce/manifests/kube-addon-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
component: kube-addon-manager
spec:
priorityClassName: system-node-critical
priority: 2000001000
hostNetwork: true
containers:
- name: kube-addon-manager
Expand Down
3 changes: 2 additions & 1 deletion cluster/gce/manifests/kube-apiserver.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
}
},
"spec":{
"priorityClass": "system-node-critical",
"priorityClassName": "system-node-critical",
"priority": 2000001000,
"hostNetwork": true,
"containers":[
{
Expand Down
3 changes: 2 additions & 1 deletion cluster/gce/manifests/kube-controller-manager.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
}
},
"spec":{
"priorityClass": "system-node-critical",
"priorityClassName": "system-node-critical",
"priority": 2000001000,
"hostNetwork": true,
"containers":[
{
Expand Down
1 change: 1 addition & 0 deletions cluster/gce/manifests/kube-proxy.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
component: kube-proxy
spec:
priorityClassName: system-node-critical
priority: 2000001000
hostNetwork: true
tolerations:
- operator: "Exists"
Expand Down
3 changes: 2 additions & 1 deletion cluster/gce/manifests/kube-scheduler.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
}
},
"spec":{
"priorityClass": "system-node-critical",
"priorityClassName": "system-node-critical",
"priority": 2000001000,
"hostNetwork": true,
"containers":[
{
Expand Down