ComputeConfig Struct
Options for configuring EKS Auto Mode compute settings.
When enabled, EKS will automatically manage compute resources like node groups and Fargate profiles.
Example
ts
const cluster = new eks.Cluster(this, 'EksAutoCluster', {
version: eks.KubernetesVersion.V1_36,
defaultCapacityType: eks.DefaultCapacityType.AUTOMODE,
compute: {
nodePools: ['system', 'general-purpose'],
},
});
Properties
nodePoolsoptionalstring[]node_poolsoptionaltyping.List[str]nodePoolsoptionalList<String>NodePoolsoptionalstring[]NodePoolsoptional*[]*string#Names of nodePools to include in Auto Mode.
Default: ['system', 'general-purpose']
You cannot modify the built in system and general-purpose node pools. You can only enable or disable them. Node pool values are case-sensitive and must be general-purpose and/or system.