Skip to content

(eks-v2-alpha): (Default for defaultCapacityType is wrong in the API docs) #33884

@darylgraham

Description

@darylgraham

Describe the issue

The parameter description for Cluster.defaultCapacityType has the default set as NODEGROUP:

defaultCapacityType?🔹

Type: DefaultCapacityType (optional, default: NODEGROUP)

The default capacity type for the cluster.

However the default was changed in commit e03d112 to now be AUTOMODE.

This resulted in failures in CDK post upgrade:
Cannot specify defaultCapacity or defaultCapacityInstance when using Auto Mode. Auto Mode manages compute resources automatically.

Links

https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-eks-v2-alpha.Cluster.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-eks-v2-alphaRelated to the @aws-cdk/aws-eks-v2-alpha packagebugThis issue is a bug.documentationThis is a problem with documentation.effort/smallSmall work item – less than a day of effortp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions