mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
pkg,test: Fix DaemonSet typos
This commit is contained in:
parent
0889c3e4e9
commit
c9cbabc8f9
@ -45,7 +45,7 @@ func GetTemplateGeneration(ds *apps.DaemonSet) (*int64, error) {
|
|||||||
return &generation, nil
|
return &generation, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddOrUpdateDaemonPodTolerations apply necessary tolerations to DeamonSet Pods, e.g. node.kubernetes.io/not-ready:NoExecute.
|
// AddOrUpdateDaemonPodTolerations apply necessary tolerations to DaemonSet Pods, e.g. node.kubernetes.io/not-ready:NoExecute.
|
||||||
func AddOrUpdateDaemonPodTolerations(spec *v1.PodSpec) {
|
func AddOrUpdateDaemonPodTolerations(spec *v1.PodSpec) {
|
||||||
// DaemonSet pods shouldn't be deleted by NodeController in case of node problems.
|
// DaemonSet pods shouldn't be deleted by NodeController in case of node problems.
|
||||||
// Add infinite toleration for taint notReady:NoExecute here
|
// Add infinite toleration for taint notReady:NoExecute here
|
||||||
|
@ -90,7 +90,7 @@ var _ = KubeadmDescribe("proxy addon", func() {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
Context("kube-proxy DeamonSet", func() {
|
Context("kube-proxy DaemonSet", func() {
|
||||||
It("should exist and be properly configured", func() {
|
It("should exist and be properly configured", func() {
|
||||||
ds := GetDaemonSet(f.ClientSet, kubeSystemNamespace, kubeProxyDaemonSetName)
|
ds := GetDaemonSet(f.ClientSet, kubeSystemNamespace, kubeProxyDaemonSetName)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user