Skip to content

Validate PKE AWS cluster name length to make NLB too long name failure a pre-operation error #3338

@pregnor

Description

@pregnor

Is your feature request related to a problem? Please describe.

Currently the PKE AWS cluster creation with names longer than 24 characters fails due to the NLB name cannot exceed the length of 32 characters and the Pipeline generated name takes up 8 characters.

This is only revealed once the cluster creation failed fatally.

Describe the solution you'd like to see

Cluster creation request validation should intercept these cases and return a validation error as long as this limitation is in place.

Describe alternatives you've considered

Additional context

The load balancer name 'pke-pregnor-local-3311-test-2-nlb' cannot be longer than '32' characters (Service: AmazonElasticLoadBalancing; Status Code: 400; Error Code: ValidationError; Request ID: 4ef4acb8-3c8e-4452-82dd-191ded316ec0; Proxy: null)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions