Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pregnor opened this issue Nov 20, 2020 · 0 comments
Labels
area/cluster cloud/aws distribution/pke Pipeline Kubernetes Engine kind/enhancement New feature or request

Comments

@pregnor
Copy link
Member

pregnor commented Nov 20, 2020

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)
@pregnor pregnor added kind/enhancement New feature or request cloud/aws area/cluster distribution/pke Pipeline Kubernetes Engine labels Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster cloud/aws distribution/pke Pipeline Kubernetes Engine kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant