pkg,test: Fix DaemonSet typos

This commit is contained in:
Lili Cosic 2019-04-17 18:47:00 +02:00
parent 0889c3e4e9
commit c9cbabc8f9
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ func GetTemplateGeneration(ds *apps.DaemonSet) (*int64, error) {
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) {
// DaemonSet pods shouldn't be deleted by NodeController in case of node problems.
// Add infinite toleration for taint notReady:NoExecute here

View File

@ -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() {
ds := GetDaemonSet(f.ClientSet, kubeSystemNamespace, kubeProxyDaemonSetName)