mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Fix priorityClass typo, add numeric priority to static pods
This commit is contained in:
parent
0926c9c476
commit
5534c12dad
@ -9,6 +9,7 @@ metadata:
|
|||||||
k8s-app: etcd-empty-dir-cleanup
|
k8s-app: etcd-empty-dir-cleanup
|
||||||
spec:
|
spec:
|
||||||
priorityClassName: system-node-critical
|
priorityClassName: system-node-critical
|
||||||
|
priority: 2000001000
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
dnsPolicy: Default
|
dnsPolicy: Default
|
||||||
containers:
|
containers:
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spec":{
|
"spec":{
|
||||||
"priorityClass": "system-node-critical",
|
"priorityClassName": "system-node-critical",
|
||||||
|
"priority": 2000001000,
|
||||||
"hostNetwork": true,
|
"hostNetwork": true,
|
||||||
"containers":[
|
"containers":[
|
||||||
{
|
{
|
||||||
|
@ -10,6 +10,8 @@ metadata:
|
|||||||
k8s-app: gcp-lb-controller
|
k8s-app: gcp-lb-controller
|
||||||
kubernetes.io/name: "GLBC"
|
kubernetes.io/name: "GLBC"
|
||||||
spec:
|
spec:
|
||||||
|
priorityClassName: system-node-critical
|
||||||
|
priority: 2000001000
|
||||||
terminationGracePeriodSeconds: 600
|
terminationGracePeriodSeconds: 600
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
|
@ -7,7 +7,8 @@ metadata:
|
|||||||
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
|
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
|
||||||
component: konnectivity-server
|
component: konnectivity-server
|
||||||
spec:
|
spec:
|
||||||
priorityClassName: system-cluster-critical
|
priorityClassName: system-node-critical
|
||||||
|
priority: 2000001000
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- name: konnectivity-server-container
|
- name: konnectivity-server-container
|
||||||
|
@ -9,6 +9,7 @@ metadata:
|
|||||||
component: kube-addon-manager
|
component: kube-addon-manager
|
||||||
spec:
|
spec:
|
||||||
priorityClassName: system-node-critical
|
priorityClassName: system-node-critical
|
||||||
|
priority: 2000001000
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
containers:
|
containers:
|
||||||
- name: kube-addon-manager
|
- name: kube-addon-manager
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spec":{
|
"spec":{
|
||||||
"priorityClass": "system-node-critical",
|
"priorityClassName": "system-node-critical",
|
||||||
|
"priority": 2000001000,
|
||||||
"hostNetwork": true,
|
"hostNetwork": true,
|
||||||
"containers":[
|
"containers":[
|
||||||
{
|
{
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spec":{
|
"spec":{
|
||||||
"priorityClass": "system-node-critical",
|
"priorityClassName": "system-node-critical",
|
||||||
|
"priority": 2000001000,
|
||||||
"hostNetwork": true,
|
"hostNetwork": true,
|
||||||
"containers":[
|
"containers":[
|
||||||
{
|
{
|
||||||
|
@ -10,6 +10,7 @@ metadata:
|
|||||||
component: kube-proxy
|
component: kube-proxy
|
||||||
spec:
|
spec:
|
||||||
priorityClassName: system-node-critical
|
priorityClassName: system-node-critical
|
||||||
|
priority: 2000001000
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
tolerations:
|
tolerations:
|
||||||
- operator: "Exists"
|
- operator: "Exists"
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spec":{
|
"spec":{
|
||||||
"priorityClass": "system-node-critical",
|
"priorityClassName": "system-node-critical",
|
||||||
|
"priority": 2000001000,
|
||||||
"hostNetwork": true,
|
"hostNetwork": true,
|
||||||
"containers":[
|
"containers":[
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user