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
labelsoptionalIResolvable | { [key: string]: string }labelsoptionaltyping.Union[IResolvable, typing.Mapping[str, str]]labelsoptionalIResolvableLabelsoptionalIResolvableLabelsoptionalinterface{}#Key-value pairs of labels to be applied to cluster nodes.
taintsoptionalIResolvable | IResolvable | CfnCluster.ClusterKubernetesTaintProperty[]taintsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ClusterKubernetesTaintProperty]]]taintsoptionalIResolvableTaintsoptionalIResolvableTaintsoptionalinterface{}#List of taints to be applied to cluster nodes.