Skip to content

Document payload spec for SKE clusters #1756

Open

Description

@hinricht

Problem description

I'd like to create a SKE cluster in a network-area enabled project.
It fails:

$ stackit ske cluster generate-payload > payload-default.json

$ stackit ske cluster create trivy-test --payload @./payload-default.json 
Are you sure you want to create a cluster for project "acp-prod-infrastructure-platform"? [y/N] y

Error: create SKE cluster: 400 Bad Request, status code 400, Body: {"code":"InvalidArgument", "message":"1 error occurred:\n\t* invalid input: network.id is required for a cluster in a network area\n\n", "details":""}

I cannot find the documentation how to add the networkarea id to the payload file.

Proposed solution

  • Document all possible options of the payload file.
  • Generate a payload file that allows easy adding of a networkarea ID.

Alternative solutions (optional)

  • Create the SKE cluster via UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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