Removing a Node

There may come a time when you need to remove a node from your distributed deployment. To do this, you’ll need to remove the node’s configuration from a few different components.


First, log into your manager and list all Salt keys:

sudo salt-key

Then remove the node by deleting its key from Salt (replacing nodename with the actual node name):

sudo salt-key -d nodename

Remove the node from any .sls files in /opt/so/saltstack/local/pillar/data/.


Remove the node’s json file from the appropriate subdirectory under /opt/so/conf/grafana/grafana_dashboards/ on the manager. Then restart Grafana with:

sudo so-grafana-restart