diff --git a/cluster-autoscaler/cloudprovider/aws/aws_wrapper.go b/cluster-autoscaler/cloudprovider/aws/aws_wrapper.go index 4ca512bb4435..beba83acb32e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws_wrapper.go +++ b/cluster-autoscaler/cloudprovider/aws/aws_wrapper.go @@ -787,6 +787,10 @@ func buildLaunchTemplateFromSpec(ltSpec *autoscaling.LaunchTemplateSpecification func taintEksTranslator(t *eks.Taint) (apiv1.TaintEffect, error) { // Translation between AWS EKS and Kubernetes taints + // + // See: + // + // https://docs.aws.amazon.com/eks/latest/APIReference/API_Taint.html switch effect := *t.Effect; effect { case eks.TaintEffectNoSchedule: return apiv1.TaintEffectNoSchedule, nil