Skip to content
11 changes: 11 additions & 0 deletions e2e/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,17 @@ func podWindows(s *Scenario, podName string, imageName string) *corev1.Pod {
Command: []string{"cmd", "/c", "ping", "-t", "localhost"},
},
},
// Tolerate the cloud-provider-uninitialized taint: the node may report Ready before
// the Azure cloud-controller-manager removes this taint, which would otherwise leave
// this pod Pending (and the test waiting) until the taint clears on its own.
Tolerations: []corev1.Toleration{
{
Key: "node.cloudprovider.kubernetes.io/uninitialized",
Operator: corev1.TolerationOpEqual,
Value: "true",
Effect: corev1.TaintEffectNoSchedule,
},
Comment thread
Copilot marked this conversation as resolved.
Outdated
},
NodeSelector: map[string]string{
"kubernetes.io/hostname": s.Runtime.VM.KubeName,
},
Expand Down
Loading