interface ClusterKubernetesConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnCluster.ClusterKubernetesConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnCluster_ClusterKubernetesConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnCluster.ClusterKubernetesConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnCluster.ClusterKubernetesConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnCluster » ClusterKubernetesConfigProperty |
Kubernetes configuration that specifies labels and taints to be applied to cluster nodes in an instance group.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const clusterKubernetesConfigProperty: sagemaker.CfnCluster.ClusterKubernetesConfigProperty = {
labels: {
labelsKey: 'labels',
},
taints: [{
effect: 'effect',
key: 'key',
// the properties below are optional
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| labels? | { [string]: string } | IResolvable | Key-value pairs of labels to be applied to cluster nodes. |
| taints? | IResolvable | (IResolvable | Cluster)[] | List of taints to be applied to cluster nodes. |
labels?
Type:
{ [string]: string } | IResolvable
(optional)
Key-value pairs of labels to be applied to cluster nodes.
taints?
Type:
IResolvable | (IResolvable | Cluster)[]
(optional)
List of taints to be applied to cluster nodes.

.NET
Go
Java
Python
TypeScript