Skip to content

Commit

Permalink
Added link to AWS docs regarding taints
Browse files Browse the repository at this point in the history
Signed-off-by: Willi Carlsen <[email protected]>
  • Loading branch information
wcarlsen committed Jun 13, 2024
1 parent e27ae68 commit bb81dd3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cluster-autoscaler/cloudprovider/aws/aws_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb81dd3

Please sign in to comment.