ClusterKubernetesConfigProperty Struct
Kubernetes configuration that specifies labels and taints to be applied to cluster nodes in an instance group.
Example
ts
// 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
labelsIResolvable | { [key: string]: string }labelstyping.Union[IResolvable, typing.Mapping[str, str]]labelsIResolvableLabelsIResolvableLabelsinterface{}#Key-value pairs of labels to be applied to cluster nodes.
taintsIResolvable | IResolvable | CfnCluster.ClusterKubernetesTaintProperty[]taintstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ClusterKubernetesTaintProperty]]]taintsIResolvableTaintsIResolvableTaintsinterface{}#List of taints to be applied to cluster nodes.