I'm using the Javascript @kubernetes/client-node library and I want to gracefully remove a node from K8s (following this).
I've not found any guides or documents showing how this can be done correctly using a K8s client library. The only resource I found is this but it's for the Python client and does not show the "full" code procedure.
How can this be achieved by the K8s Javascript client?