Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How To Clean up Decommissioned Node Manually
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Cleaning up the decommissioned node manually.
Environment
- Platform9 Managed Kubernetes- All Versions
Procedure
- Stop the Platform9 Managed Kubernetes Stack:
Bash
xxxxxxxxxx~$ sudo systemctl stop pf9-hostagent pf9-nodeletd~$ sudo /opt/pf9/nodelet/nodeletd phases stop- Erase the pf9-hostagent package from node:
Bash
xxxxxxxxxx~$ sudo yum erase pf9-hostagent docker-ce* docker-ce-cli* containerd* -y- If the stale directories exists, remove them by using the below command:
Bash
~$ sudo rm -rf /opt/pf9/ /etc/pf9/ /root/pf9 /usr/bin/pf9ctl /var/log/pf9 /opt/cni /etc/cni/ /opt/containerd /var/lib/kubelet/cpu_manager_state /var/opt/pf9 /etc/yum.repos.d/* /var/lib/docker/ /var/lib/containerdOptionally, delete the temporary files in /tmp:
Bash
xxxxxxxxxx~$ cd /tmp && rm -rf docker-* hostagent* kube-scheduler-*- Reboot the node to ensure there is no residual process.
Bash
xxxxxxxxxx~$ sudo reboot##
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message