|
| 1 | +This method allows to create a new Kubernetes cluster on an account. |
| 2 | + |
| 3 | +USAGE: |
| 4 | + scw [global-flags] k8s cluster create [flags] [arg=value ...] |
| 5 | + |
| 6 | +ARGS: |
| 7 | + name The name of the cluster |
| 8 | + [description] The description of the cluster |
| 9 | + [tags.{index}] The tags associated with the cluster |
| 10 | + version The Kubernetes version of the cluster |
| 11 | + cni The Container Network Interface (CNI) plugin that will run in the cluster (unknown_cni | cilium | calico | weave | flannel) |
| 12 | + [enable-dashboard] The enablement of the Kubernetes Dashboard in the cluster |
| 13 | + [ingress] The Ingress Controller that will run in the cluster (unknown_ingress | none | nginx | traefik) |
| 14 | + default-pool-config.node-type The node type is the type of Scaleway Instance wanted for the pool |
| 15 | + [default-pool-config.placement-group-id] The placement group ID in which all the nodes of the pool will be created |
| 16 | + [default-pool-config.autoscaling] The enablement of the autoscaling feature for the pool |
| 17 | + default-pool-config.size The size (number of nodes) of the pool |
| 18 | + [default-pool-config.min-size] The minimun size of the pool |
| 19 | + [default-pool-config.max-size] The maximum size of the pool |
| 20 | + [default-pool-config.container-runtime] The container runtime for the nodes of the pool (unknown_runtime | docker | containerd | crio) |
| 21 | + [default-pool-config.autohealing] The enablement of the autohealing feature for the pool |
| 22 | + [default-pool-config.tags.{index}] The tags associated with the pool |
| 23 | + [autoscaler-config.scale-down-disabled] Disable the cluster autoscaler |
| 24 | + [autoscaler-config.scale-down-delay-after-add] How long after scale up that scale down evaluation resumes |
| 25 | + [autoscaler-config.estimator] Type of resource estimator to be used in scale up (unknown_estimator | binpacking | oldbinpacking) |
| 26 | + [autoscaler-config.expander] Type of node group expander to be used in scale up (unknown_expander | random | most_pods | least_waste | priority) |
| 27 | + [autoscaler-config.ignore-daemonsets-utilization] Ignore DaemonSet pods when calculating resource utilization for scaling down |
| 28 | + [autoscaler-config.balance-similar-node-groups] Detect similar node groups and balance the number of nodes between them |
| 29 | + [autoscaler-config.expendable-pods-priority-cutoff] Pods with priority below cutoff will be expendable |
| 30 | + [auto-upgrade.enable] Whether or not auto upgrade is enabled for the cluster |
| 31 | + [auto-upgrade.maintenance-window.start-hour] The start hour of the 2-hour maintenance window |
| 32 | + [auto-upgrade.maintenance-window.day] The day of the week for the maintenance window (any | monday | tuesday | wednesday | thursday | friday | saturday | sunday) |
| 33 | + [feature-gates.{index}] List of feature gates to enable |
| 34 | + [admission-plugins.{index}] List of admission plugins to enable |
| 35 | + [organization-id] Organization ID to use. If none is passed will use default organization ID from the config |
| 36 | + [region] Region to target. If none is passed will use default region from the config (fr-par) |
| 37 | + |
| 38 | +FLAGS: |
| 39 | + -h, --help help for create |
| 40 | + |
| 41 | +GLOBAL FLAGS: |
| 42 | + -D, --debug Enable debug mode |
| 43 | + -o, --output string Output format: json or human |
| 44 | + -p, --profile string The config profile to use |
0 commit comments