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!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
One potential solution: doctl kubernetes cluster node-pool list <cluster-id|cluster-name> [flags] outputs <node-id>, but -o json must be used
Hi there,
You can use the below options to list the ID of the worker nodes:
Note :: Worker nodes come with the “k8s:worker” tag
I hope this helps!
Best Regards, Purnima Kumari
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.