dcloud eks clusters create

Create a cluster

IAM eks:CreateClusterChanges state

tier dev runs one control-plane machine, standard three. The creator gets a ClusterAdmin access entry. nodegroup creates a first node group once the control plane is up and also needs eks:CreateNodegroup (and iam:PassRole when nodeRole is set). 409 when the name is taken.

Synopsis

dcloud eks clusters create --name name [flags]

Flags

  • --region-idOptional

    string

    Region to create in (default: the X-EWS-Region header, else de1). fi1 (Helsinki, Finland) needs the organization setting "allow EU outside Germany".

    Constraints: 1-32 chars

  • --nameRequired

    string

    Cluster name, unique in the organization (409 when taken): lowercase letters, digits and hyphens, starting with a letter, at most 40 characters

    Constraints: /^[a-z]([a-z0-9-]{0,38}[a-z0-9])?$/

  • --versionOptional

    enum

    Kubernetes minor; default the regular channel

    One of: 1.36, 1.37

  • --tierOptional

    enum

    dev: one control-plane machine, no SLA. standard: three, highly available

    One of: dev, standard

  • --vpc-idOptional

    string

    VPC the node groups join; default VPC if unset

  • --allowed-cidrsOptional

    array of string

    CIDRs allowed to reach the public endpoint, e.g. ["203.0.113.0/24"]

    Constraints: cidrv4

  • --endpoint-public-accessOptional

    boolean (--endpoint-public-access / --no-endpoint-public-access)

    The endpoint answers on its public address (to allowedCidrs); default true

  • --endpoint-private-accessOptional

    boolean (--endpoint-private-access / --no-endpoint-private-access)

    The endpoint answers inside the VPC; default true

  • --deletion-protectionOptional

    boolean (--deletion-protection / --no-deletion-protection)

    true: a delete is refused (409) until it is turned off. Default false

  • --nodegroupOptional

    object

    A first node group, created once the control plane is up

    Constraints: JSON

  • --addonsOptional

    array of json

    Add-ons to install. Default: metrics-server. [] installs none

  • --loggingOptional

    object

    Default: audit only

    Constraints: JSON

  • --tagsOptional

    map of string

    Tags for the new resource, e.g. {"env": "prod", "project": "shop"}. Keys your organization marks required must be present, or the create is refused with the missing keys (GET /tags/api/keys lists them).

    Constraints: key=value

Example

dcloud eks clusters create --name example

Generated from the API description, the same one the API checks requests against and the CLI is built from.