Skip to content

Commit

Permalink
add comment to NodeUninitializedTaint
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuvaraj Kakaraparthi committed Feb 1, 2023
1 parent ceb12a0 commit 9ceca6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v1beta1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ const (
ReplicasManagedByAnnotation = "cluster.x-k8s.io/replicas-managed-by"
)

// NodeUninitializedTaint is added to the nodes at creation when using KubeadmBootstrap provider.
// This taint is added to prevent workloads to be scheduled on the nodes till the labels are initially
// synced form the machines to the nodes. The taint is removed form the node after the node labels are synced.
var NodeUninitializedTaint = corev1.Taint{
Key: "node.cluster.x-k8s.io/uninitialized",
Effect: corev1.TaintEffectNoSchedule,
Expand Down

0 comments on commit 9ceca6a

Please sign in to comment.