Skip to content

Commit 9ceca6a

Browse files
author
Yuvaraj Kakaraparthi
committed
add comment to NodeUninitializedTaint
1 parent ceb12a0 commit 9ceca6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

api/v1beta1/common_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ const (
122122
ReplicasManagedByAnnotation = "cluster.x-k8s.io/replicas-managed-by"
123123
)
124124

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

0 commit comments

Comments
 (0)