Question
How to get node-id (for delete-node)?
doctl kubernetes cluster node-pool delete-node <cluster-id|cluster-name> <pool-id|pool-name> <node-id> [flags]
(Please scroll left and right if the command is too long)
Please note how we have the option to use name instead of id for cluster and pool. However, for node, we must use id. Where can we find this id?
I could only find the name of the node (using node-pool list
), but passing the name results in 404 could not find worker node
Thank you for your time and help!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
The
UID
output bydoctl compute droplet list
also returns404 could not find worker node
when passed intodoctl kubernetes cluster node-pool delete-node
..