Feedback for Removing an Agent
Description
Source: https://dcos.io/docs/1.8/administration/remove-agent/
Command "systemctl kill -s SIGUSR1 dcos-mesos-slave" does not work as how it is supposed to (deregister node and kill all tasks). It did kill all tasks when I ran the command and went off the grid for a few seconds. But immediately came back up healthy. What is the best way to deregister a node for ever from a cluster?
Activity
This seems to take out the node from the list on dcos dashboard completely although the node is still up. Plus it shows in aws ec2 console as still running. Does that still mean the agent is de-registered from the cluster and we are no longer paying for it even though it is up and running?
i think you need to do && sleep 5s && systemctl stop dcos-mesos-slave after that