ovhcloud-cli/doc/ovhcloud_cloud_kube_nodepool_edit.md
anthony berger f71e5d4e28
Some checks failed
Build and test / build (1.24.x) (push) Has been cancelled
Build and test / build (1.25.x) (push) Has been cancelled
Add attachFloatinIps spec on nodepool (#107)
* feat : add attachFloatinIps
2025-12-15 16:44:24 +01:00

3.1 KiB

ovhcloud cloud kube nodepool edit

Edit the given Kubernetes node pool

ovhcloud cloud kube nodepool edit <cluster_id> <nodepool_id> [flags]

Options

      --attach-floating-ips                      Enable FloatingIP creation, if true, a floating IP will be created and attached to each node
      --autoscale                                Enable autoscaling for the node pool
      --desired-nodes int                        Desired number of nodes
      --editor                                   Use a text editor to define parameters
  -h, --help                                     help for edit
      --max-nodes int                            Higher limit you accept for the desiredNodes value (100 by default)
      --min-nodes int                            Lower limit you accept for the desiredNodes value (0 by default)
      --nodes-to-remove strings                  List of node IDs to remove from the node pool
      --scale-down-unneeded-time-seconds int     How long a node should be unneeded before it is eligible for scale down (seconds)
      --scale-down-unready-time-seconds int      How long an unready node should be unneeded before it is eligible for scale down (seconds)
      --scale-down-utilization-threshold float   Sum of CPU or memory of all pods running on the node divided by node's corresponding allocatable resource, below which a node can be considered for scale down
      --template-annotations stringToString      Annotations to apply to each node (default [])
      --template-finalizers strings              Finalizers to apply to each node
      --template-labels stringToString           Labels to apply to each node (default [])
      --template-taints strings                  Taints to apply to each node in key=value:effect format
      --template-unschedulable                   Set the nodes as unschedulable

Options inherited from parent commands

      --cloud-project string   Cloud project ID
  -d, --debug                  Activate debug mode (will log all HTTP requests details)
  -f, --format string          Output value according to given format (expression using https://github.com/PaesslerAG/gval syntax)
                               Examples:
                                 --format 'id' (to extract a single field)
                                 --format 'nested.field.subfield' (to extract a nested field)
                                 --format '[id, 'name']' (to extract multiple fields as an array)
                                 --format '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
                                 --format 'name+","+type' (to extract and concatenate fields in a string)
                                 --format '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
  -e, --ignore-errors          Ignore errors in API calls when it is not fatal to the execution
  -i, --interactive            Interactive output
  -j, --json                   Output in JSON
  -y, --yaml                   Output in YAML

SEE ALSO