put
https://api.linode.com//lke/clusters//pools/
Updates a node pool's count, labels, taints, and autoscaler configuration.
Linodes are created or deleted to match changes to the node pool's count.
Specifying labels or taints on update overwrites any previous values, and updates existing nodes with the new values without a recycle.
Any local storage on deleted Linodes (such as hostPath and emptyDir volumes, or local PersistentVolumes) will be erased.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
Identity and access permissions. Your user needs a role with these permissions. Learn more.
- Roles:
lkecluster_admin
- Roles:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
lke:read_write
- Scopes:
CLI
linode-cli lke pool-update 12345 456 \
--count 6 \
--autoscaler.enabled true \
--autoscaler.max 12 \
--autoscaler.min 3 \
--labels '{ "example.com/my-app":"team1", "env":"staging" }' \
--taints.effect "NoSchedule" \
--taints.key "example.com/my-app" \
--taints.value "teamA"