enum TaintEffect
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Eks.V2.Alpha.TaintEffect |
![]() | github.com/aws/aws-cdk-go/awscdkeks-v2alpha/v2#TaintEffect |
![]() | software.amazon.awscdk.services.eks.v2.alpha.TaintEffect |
![]() | aws_cdk.aws_eks_v2_alpha.TaintEffect |
![]() | @aws-cdk/aws-eks-v2-alpha ยป TaintEffect |
Effect types of kubernetes node taint.
Note: These values are specifically for AWS EKS NodeGroups and use the AWS API format. When using AWS CLI or API, taint effects must be NO_SCHEDULE, PREFER_NO_SCHEDULE, or NO_EXECUTE. When using Kubernetes directly or kubectl, taint effects must be NoSchedule, PreferNoSchedule, or NoExecute.
For Kubernetes manifests (like Karpenter NodePools), use string literals with PascalCase format:
- 'NoSchedule' instead of TaintEffect.NO_SCHEDULE
- 'PreferNoSchedule' instead of TaintEffect.PREFER_NO_SCHEDULE
- 'NoExecute' instead of TaintEffect.NO_EXECUTE
See also: https://docs.aws.amazon.com/eks/latest/userguide/node-taints-managed-node-groups.html
Members
Name | Description |
---|---|
NO_SCHEDULE | NoSchedule. |
PREFER_NO_SCHEDULE | PreferNoSchedule. |
NO_EXECUTE | NoExecute. |
NO_SCHEDULE
NoSchedule.
PREFER_NO_SCHEDULE
PreferNoSchedule.
NO_EXECUTE
NoExecute.