Enum TaintEffect
Effect types of kubernetes node taint.
Namespace: Amazon.CDK.AWS.EKS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum TaintEffect
Syntax (vb)
Public Enum TaintEffect
Remarks
ExampleMetadata: infused
Examples
Cluster cluster;
cluster.AddNodegroupCapacity("custom-node-group", new NodegroupOptions {
InstanceTypes = new [] { new InstanceType("m5.large") },
Taints = new [] { new TaintSpec {
Effect = TaintEffect.NO_SCHEDULE,
Key = "foo",
Value = "bar"
} }
});
Synopsis
Fields
NO_EXECUTE | NoExecute. |
NO_SCHEDULE | NoSchedule. |
PREFER_NO_SCHEDULE | PreferNoSchedule. |
Fields
Name | Description |
---|---|
NO_EXECUTE | NoExecute. |
NO_SCHEDULE | NoSchedule. |
PREFER_NO_SCHEDULE | PreferNoSchedule. |