Skip to content

Commit

Permalink
switch to KubernetesNetworkUnavailableTaint
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie McBride committed Oct 2, 2024
1 parent 17a0be1 commit 50a2cdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/pkg/environment/azure/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ func init() {
}

const (
WindowsDefaultImage = "mcr.microsoft.com/oss/kubernetes/pause:3.9"
CiliumAgentNotReadyTaint = "node.cilium.io/agent-not-ready"
WindowsDefaultImage = "mcr.microsoft.com/oss/kubernetes/pause:3.9"
KubernetesNetworkUnavailableTaint = "node.kubernetes.io/network-unavailable"
)

type Environment struct {
Expand Down Expand Up @@ -93,7 +93,7 @@ func (env *Environment) DefaultNodePool(nodeClass *v1alpha2.AKSNodeClass) *corev
v1.ResourceMemory: resource.MustParse("1000Gi"),
})
nodePool.Spec.Template.Spec.StartupTaints = append(nodePool.Spec.Template.Spec.StartupTaints, v1.Taint{
Key: CiliumAgentNotReadyTaint,
Key: KubernetesNetworkUnavailableTaint,
Effect: v1.TaintEffectNoSchedule,
})
return nodePool
Expand Down

0 comments on commit 50a2cdf

Please sign in to comment.