🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create a new Kubernetes cluster in a Scaleway region.

USAGE:
  scw k8s cluster create [arg=value ...]

EXAMPLES:
  Create a Kubernetes cluster named foo with cilium as CNI, in version 1.31.2 and with a pool named default composed of 3 DEV1-M
    scw k8s cluster create name=foo version=1.31.2 pools.0.size=3 pools.0.node-type=DEV1-M pools.0.name=default

  Create a Kubernetes cluster named bar, tagged, calico as CNI, in version 1.31.2 and with a tagged pool named default composed of 2 RENDER-S and autohealing and autoscaling enabled (between 1 and 10 nodes)
    scw k8s cluster create name=bar version=1.31.2 tags.0=tag1 tags.1=tag2 cni=calico pools.0.size=2 pools.0.node-type=RENDER-S pools.0.min-size=1 pools.0.max-size=10 pools.0.autohealing=true pools.0.autoscaling=true pools.0.tags.0=pooltag1 pools.0.tags.1=pooltag2 pools.0.name=default

ARGS:
  [project-id]                                           Project ID to use. If none is passed the default project ID will be used
  [type]                                                 Type of the cluster. See [list available cluster types](#list-available-cluster-types-for-a-cluster) for a list of valid types
  name=<generated>                                       Cluster name
  [description]                                          Cluster description
  [tags.{index}]                                         Tags associated with the cluster
  version=latest                                         Kubernetes version of the cluster
  cni=cilium                                             Container Network Interface (CNI) plugin running in the cluster (unknown_cni | cilium | calico | weave | flannel | kilo | none | cilium_native)
  [pools.{index}.name]                                   Name of the pool
  [pools.{index}.node-type]                              Node type is the type of Scaleway Instance wanted for the pool. Nodes with insufficient memory are not eligible (DEV1-S, PLAY2-PICO, STARDUST). 'external' is a special node type used to provision instances from other cloud providers in a Kosmos Cluster
  [pools.{index}.placement-group-id]                     Placement group ID in which all the nodes of the pool will be created, placement groups are limited to 20 instances.
  [pools.{index}.autoscaling]                            Defines whether the autoscaling feature is enabled for the pool
  [pools.{index}.size]                                   Size (number of nodes) of the pool
  [pools.{index}.min-size]                               Defines the minimum size of the pool. Note that this field is only used when autoscaling is enabled on the pool
  [pools.{index}.max-size]                               Defines the maximum size of the pool. Note that this field is only used when autoscaling is enabled on the pool
  [pools.{index}.container-runtime]                      Customization of the container runtime is available for each pool (unknown_runtime | docker | containerd | crio)
  [pools.{index}.autohealing]                            Defines whether the autohealing feature is enabled for the pool
  [pools.{index}.tags.{index}]                           Tags associated with the pool, see [managing tags](https://www.scaleway.com/en/docs/kubernetes/api-cli/managing-tags)
  [pools.{index}.kubelet-args.{key}]                     Kubelet arguments to be used by this pool. Note that this feature is experimental
  [pools.{index}.upgrade-policy.max-unavailable]         The maximum number of nodes that can be not ready at the same time
  [pools.{index}.upgrade-policy.max-surge]               The maximum number of nodes to be created during the upgrade
  [pools.{index}.zone]                                   Zone in which the pool's nodes will be spawned
  [pools.{index}.root-volume-type]                       Defines the system volume disk type. Several types of volume (`volume_type`) are provided: (default_volume_type | l_ssd | b_ssd | sbs_5k | sbs_15k)
  [pools.{index}.root-volume-size]                       System volume disk size
  [pools.{index}.public-ip-disabled]                     Defines if the public IP should be removed from Nodes. To use this feature, your Cluster must have an attached Private Network set up with a Public Gateway
  [pools.{index}.security-group-id]                      Security group ID in which all the nodes of the pool will be created. If unset, the pool will use default Kapsule security group in current zone
  [pools.{index}.labels.{key}]                           Kubernetes labels applied and reconciled on the nodes
  [pools.{index}.taints.{index}.key]                     The taint key to be applied to a node
  [pools.{index}.taints.{index}.value]                   The taint value corresponding to the taint key
  [pools.{index}.taints.{index}.effect]                  Effect defines the effects of Taint (NoSchedule | PreferNoSchedule | NoExecute)
  [pools.{index}.startup-taints.{index}.key]             The taint key to be applied to a node
  [pools.{index}.startup-taints.{index}.value]           The taint value corresponding to the taint key
  [pools.{index}.startup-taints.{index}.effect]          Effect defines the effects of Taint (NoSchedule | PreferNoSchedule | NoExecute)
  [autoscaler-config.scale-down-disabled]                Forbid cluster autoscaler to scale down the cluster, defaults to false
  [autoscaler-config.scale-down-delay-after-add]         How long after scale up the scale down evaluation resumes
  [autoscaler-config.estimator]                          Type of resource estimator to be used in scale up (unknown_estimator | binpacking)
  [autoscaler-config.expander]                           Kubernetes autoscaler strategy to fit pods into nodes, see https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders for details (unknown_expander | random | most_pods | least_waste | priority | price)
  [autoscaler-config.ignore-daemonsets-utilization]      Ignore DaemonSet pods when calculating resource utilization for scaling down, defaults to false
  [autoscaler-config.balance-similar-node-groups]        Detect similar node groups and balance the number of nodes between them, defaults to false
  [autoscaler-config.expendable-pods-priority-cutoff]    Pods with priority below cutoff will be expendable. They can be killed without any consideration during scale down and they won't cause scale up. Pods with null priority (PodPriority disabled) are non expendable
  [autoscaler-config.scale-down-unneeded-time]           How long a node should be unneeded before it is eligible for scale down, defaults to 10 minutes
  [autoscaler-config.scale-down-utilization-threshold]   Node utilization level, defined as a sum of requested resources divided by allocatable capacity, below which a node can be considered for scale down
  [autoscaler-config.max-graceful-termination-sec]       Maximum number of seconds the cluster autoscaler waits for pod termination when trying to scale down a node, defaults to 600 (10 minutes)
  [auto-upgrade.enable]                                  Defines whether auto upgrade is enabled for the cluster
  [auto-upgrade.maintenance-window.start-hour]           Start time of the two-hour maintenance window
  [auto-upgrade.maintenance-window.day]                  Day of the week for the maintenance window (any | monday | tuesday | wednesday | thursday | friday | saturday | sunday)
  [feature-gates.{index}]                                List of feature gates to enable
  [admission-plugins.{index}]                            List of admission plugins to enable
  [open-id-connect-config.issuer-url]                    URL of the provider which allows the API server to discover public signing keys. Only URLs using the `https://` scheme are accepted. This is typically the provider's discovery URL without a path, for example "https://accounts.google.com" or "https://login.salesforce.com"
  [open-id-connect-config.client-id]                     A client ID that all tokens must be issued for
  [open-id-connect-config.username-claim]                JWT claim to use as the user name. The default is `sub`, which is expected to be the end user's unique identifier. Admins can choose other claims, such as `email` or `name`, depending on their provider. However, claims other than `email` will be prefixed with the issuer URL to prevent name collision
  [open-id-connect-config.username-prefix]               Prefix prepended to username claims to prevent name collision (such as `system:` users). For example, the value `oidc:` will create usernames like `oidc:jane.doe`. If this flag is not provided and `username_claim` is a value other than `email`, the prefix defaults to `( Issuer URL )#` where `( Issuer URL )` is the value of `issuer_url`. The value `-` can be used to disable all prefixing
  [open-id-connect-config.groups-claim.{index}]          JWT claim to use as the user's group
  [open-id-connect-config.groups-prefix]                 Prefix prepended to group claims to prevent name collision (such as `system:` groups). For example, the value `oidc:` will create group names like `oidc:engineering` and `oidc:infra`
  [open-id-connect-config.required-claim.{index}]        Multiple key=value pairs describing a required claim in the ID token. If set, the claims are verified to be present in the ID token with a matching value
  [apiserver-cert-sans.{index}]                          Additional Subject Alternative Names for the Kubernetes API server certificate
  [private-network-id]                                   Private network ID for internal cluster communication (cannot be changed later). For Kapsule clusters, if none is provided, a private network will be created
  [pod-cidr]                                             Subnet used for the Pod CIDR (cannot be changed later)
  [service-cidr]                                         Subnet used for the Service CIDR (cannot be changed later)
  [service-dns-ip]                                       IP used for the DNS Service (cannot be changes later). If unset, default to Service CIDR's network + 10
  [organization-id]                                      Organization ID to use. If none is passed the default organization ID will be used
  [region=fr-par]                                        Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)

FLAGS:
  -h, --help                help for create
      --list-sub-commands   List all subcommands
  -w, --wait                wait until the cluster is ready

GLOBAL FLAGS:
  -c, --config string    The path to the config file
  -D, --debug            Enable debug mode
  -o, --output string    Output format: json or human, see 'scw help output' for more info (default "human")
  -p, --profile string   The config profile to use
