1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/docs/deployment/uninstallation.md
Markus Lehtonen dcbb3bc450 docs: add missing mentions of extended resources and taints
A small update to fix some missing mentions of extended resources and
taints as assets managed by NFD.
2023-04-11 20:38:21 +03:00

1,003 B

title layout sort
Uninstallation default 6

Uninstallation

{: .no_toc}

Table of contents

{: .no_toc .text-delta}

  1. TOC {:toc}

Follow the uninstallation instructions of the deployment method used (kustomize, helm or operator).

Removing feature labels

NFD-Master has a special -prune command line flag for removing all nfd-related node labels, annotations, extended resources and taints from the cluster.

kubectl apply -k https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/prune?ref={{ site.release }}
kubectl -n node-feature-discovery wait job.batch/nfd-master --for=condition=complete && \
    kubectl delete -k https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/prune?ref={{ site.release }}

NOTE: You must run prune before removing the RBAC rules (serviceaccount, clusterrole and clusterrolebinding).