mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
cleanup useless 'scheduler.alpha.kubernetes.io/critical-pod' annotation
This commit is contained in:
parent
1d0e5ac583
commit
ff18e391e9
@ -3,8 +3,6 @@ kind: Pod
|
|||||||
metadata:
|
metadata:
|
||||||
name: l7-lb-controller
|
name: l7-lb-controller
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
annotations:
|
|
||||||
scheduler.alpha.kubernetes.io/critical-pod: ''
|
|
||||||
labels:
|
labels:
|
||||||
k8s-app: gcp-lb-controller
|
k8s-app: gcp-lb-controller
|
||||||
kubernetes.io/name: "GLBC"
|
kubernetes.io/name: "GLBC"
|
||||||
|
@ -68,12 +68,10 @@ var _ = SIGDescribe("[Feature:GPUDevicePlugin] Device Plugin", func() {
|
|||||||
},
|
},
|
||||||
Template: v1.PodTemplateSpec{
|
Template: v1.PodTemplateSpec{
|
||||||
ObjectMeta: metav1.ObjectMeta{
|
ObjectMeta: metav1.ObjectMeta{
|
||||||
Annotations: map[string]string{
|
|
||||||
"scheduler.alpha.kubernetes.io/critical-pod": "",
|
|
||||||
},
|
|
||||||
Labels: labels,
|
Labels: labels,
|
||||||
},
|
},
|
||||||
Spec: v1.PodSpec{
|
Spec: v1.PodSpec{
|
||||||
|
PriorityClassName: "system-node-critical",
|
||||||
Tolerations: []v1.Toleration{
|
Tolerations: []v1.Toleration{
|
||||||
{
|
{
|
||||||
Key: "CriticalAddonsOnly",
|
Key: "CriticalAddonsOnly",
|
||||||
|
Loading…
Reference in New Issue
Block a user