-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
Description
The cluster configuration generated by stackit ske cluster generate-payload --region eu02 -f cluster.json
does not work in eu02.
Steps to reproduce
stackit ske cluster generate-payload --region eu02 -f cluster.json
stackit ske cluster create test --region eu02 --payload @./cluster.json
. This results in the following error:
Error: create SKE cluster: 400 Bad Request, status code 400, Body: {"code":"InvalidArgument", "message":"invalid input: cluster with name \"test\": invalid value for field: \"type\", supported values: \"b3i.16\", \"b3i.2\", \"b3i.4\", \"b3i.8\", \"c2a.120d\", \"c2a.16d\", \"c2a.240d\", \"c2a.2d\", \"c2a.30d\", \" [...truncated 415 characters...] \"m3i.2\", \"m3i.4\", \"m3i.8\", \"s3i.112\", \"s3i.16\", \"s3i.28\", \"s3i.4\", \"s3i.56\", \"s3i.8\", spec.provider.workers[0].zones[0]: Unsupported value: \"eu01-3\": supported values: \"eu02-m\", \"eu02-1\", \"eu02-2\", \"eu02-3\"", "details":""}
Actual behavior
See above
Expected behavior
The generated payload for region eu02 should work to create a new cluster.
Environment
- OS: Linux
- Version of STACKIT CLI (see
stackit --version
):v0.42.0
Additional information
Feel free to add any additional information here.
Availability zone and machine type are hardcoded in https://github.com/stackitcloud/stackit-cli/blob/main/internal/pkg/services/ske/utils/utils.go#L19 .
Btw, flavor b1.2 is deprecated in eu01: docs section