Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ ARGS:
[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
[autoscaler-config.scale-down-disabled] Disable the cluster autoscaler
[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] Type of node group expander to be used in scale up (unknown_expander | random | most_pods | least_waste | priority | price)
[autoscaler-config.ignore-daemonsets-utilization] Ignore DaemonSet pods when calculating resource utilization for scaling down
[autoscaler-config.balance-similar-node-groups] Detect similar node groups and balance the number of nodes between them
[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 to be scaled down
[autoscaler-config.scale-down-utilization-threshold] Node utilization level, defined as a sum of requested resources divided by 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
[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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ ARGS:
[name] New external name for the cluster
[description] New description for the cluster
[tags.{index}] New tags associated with the cluster
[autoscaler-config.scale-down-disabled] Disable the cluster autoscaler
[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] Type of node group expander to be used in scale up (unknown_expander | random | most_pods | least_waste | priority | price)
[autoscaler-config.ignore-daemonsets-utilization] Ignore DaemonSet pods when calculating resource utilization for scaling down
[autoscaler-config.balance-similar-node-groups] Detect similar node groups and balance the number of nodes between them
[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 to be scaled down
[autoscaler-config.scale-down-utilization-threshold] Node utilization level, defined as a sum of requested resources divided by 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
[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)
Expand Down
28 changes: 14 additions & 14 deletions docs/commands/k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,16 +184,16 @@ scw k8s cluster create [arg=value ...]
| 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 |
| autoscaler-config.scale-down-disabled | | Disable the cluster autoscaler |
| 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 | One of: `unknown_estimator`, `binpacking` | Type of resource estimator to be used in scale up |
| autoscaler-config.expander | One of: `unknown_expander`, `random`, `most_pods`, `least_waste`, `priority`, `price` | Type of node group expander to be used in scale up |
| autoscaler-config.ignore-daemonsets-utilization | | Ignore DaemonSet pods when calculating resource utilization for scaling down |
| autoscaler-config.balance-similar-node-groups | | Detect similar node groups and balance the number of nodes between them |
| autoscaler-config.expander | One of: `unknown_expander`, `random`, `most_pods`, `least_waste`, `priority`, `price` | 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 |
| 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 to be scaled down |
| autoscaler-config.scale-down-utilization-threshold | | Node utilization level, defined as a sum of requested resources divided by 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 |
| 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 | One of: `any`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday` | Day of the week for the maintenance window |
Expand Down Expand Up @@ -483,16 +483,16 @@ scw k8s cluster update <cluster-id ...> [arg=value ...]
| name | | New external name for the cluster |
| description | | New description for the cluster |
| tags.{index} | | New tags associated with the cluster |
| autoscaler-config.scale-down-disabled | | Disable the cluster autoscaler |
| 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 | One of: `unknown_estimator`, `binpacking` | Type of resource estimator to be used in scale up |
| autoscaler-config.expander | One of: `unknown_expander`, `random`, `most_pods`, `least_waste`, `priority`, `price` | Type of node group expander to be used in scale up |
| autoscaler-config.ignore-daemonsets-utilization | | Ignore DaemonSet pods when calculating resource utilization for scaling down |
| autoscaler-config.balance-similar-node-groups | | Detect similar node groups and balance the number of nodes between them |
| autoscaler-config.expander | One of: `unknown_expander`, `random`, `most_pods`, `least_waste`, `priority`, `price` | 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 |
| 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 to be scaled down |
| autoscaler-config.scale-down-utilization-threshold | | Node utilization level, defined as a sum of requested resources divided by 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 |
| 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 | One of: `any`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `sunday` | Day of the week for the maintenance window |
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/mattn/go-isatty v0.0.20
github.com/moby/buildkit v0.26.2
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251202131048-1c7b2248aaba
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251209111654-44f4a1dfc432
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251202131048-1c7b2248aaba h1:uROS5GNQhplrMMeuuSHC47/Nztx4CWP07JoQMykzPxQ=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251202131048-1c7b2248aaba/go.mod h1:h/elW4JdNo225GP5FZHJ/RPyCNz79lxaeub3PyGzE9o=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251209111654-44f4a1dfc432 h1:9oVy2qHppTk7Yx3oKDMFkGhY3FKaHoXuBYJaFeJBjSA=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.35.0.20251209111654-44f4a1dfc432/go.mod h1:LEsDu4BubxK7/cWhtlQWfuxwL4rf/2UEpxXz1o1EMtM=
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
github.com/secure-systems-lab/go-securesystemslib v0.9.1 h1:nZZaNz4DiERIQguNy0cL5qTdn9lR8XKHf4RUyG1Sx3g=
Expand Down
Loading
Loading