eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

EKS Anywhere should validate that user-provided taints do not have duplicate keys

Open danbudris opened this issue 3 years ago • 1 comments

Kubernetes does not support taints with duplicate keys on the same nodes.

Attempting to join a node with duplicate taint keys results in an error.

EKS Anywhere does not validate that user-provided taints have distinct keys.

A validation should be added to ensure that taints provided in their the CP config or WN config have distinct keys.

danbudris avatar Jun 28 '22 21:06 danbudris

Validation on Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/core/validation/validation.go#L4991

jiayiwang7 avatar Jun 28 '22 21:06 jiayiwang7