enum TaintEffect
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EKS.TaintEffect |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseks#TaintEffect |
Java | software.amazon.awscdk.services.eks.TaintEffect |
Python | aws_cdk.aws_eks.TaintEffect |
TypeScript (source) | aws-cdk-lib » aws_eks » TaintEffect |
Effect types of kubernetes node taint.
Example
declare const cluster: eks.Cluster;
cluster.addNodegroupCapacity('custom-node-group', {
instanceTypes: [new ec2.InstanceType('m5.large')],
taints: [
{
effect: eks.TaintEffect.NO_SCHEDULE,
key: 'foo',
value: 'bar',
},
],
});
Members
Name | Description |
---|---|
NO_SCHEDULE | NoSchedule. |
PREFER_NO_SCHEDULE | PreferNoSchedule. |
NO_EXECUTE | NoExecute. |
NO_SCHEDULE
NoSchedule.
PREFER_NO_SCHEDULE
PreferNoSchedule.
NO_EXECUTE
NoExecute.