mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 08:17:26 +00:00
Merge pull request #90063 from neolit123/1.19-use-node-critical-class
kubeadm: switch control-plane static Pods to "system-node-critical"
This commit is contained in:
commit
3c871adc5f
@ -62,7 +62,7 @@ func ComponentPod(container v1.Container, volumes map[string]v1.Volume, annotati
|
|||||||
},
|
},
|
||||||
Spec: v1.PodSpec{
|
Spec: v1.PodSpec{
|
||||||
Containers: []v1.Container{container},
|
Containers: []v1.Container{container},
|
||||||
PriorityClassName: "system-cluster-critical",
|
PriorityClassName: "system-node-critical",
|
||||||
HostNetwork: true,
|
HostNetwork: true,
|
||||||
Volumes: VolumeMapToSlice(volumes),
|
Volumes: VolumeMapToSlice(volumes),
|
||||||
},
|
},
|
||||||
|
@ -415,7 +415,7 @@ func TestComponentPod(t *testing.T) {
|
|||||||
Name: "foo",
|
Name: "foo",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
PriorityClassName: "system-cluster-critical",
|
PriorityClassName: "system-node-critical",
|
||||||
HostNetwork: true,
|
HostNetwork: true,
|
||||||
Volumes: []v1.Volume{},
|
Volumes: []v1.Volume{},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user