1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00

Merge pull request #411 from marquiz/documentation/uninstall

docs: more options in uninstallation instructions
This commit is contained in:
Kubernetes Prow Robot 2020-12-03 04:50:59 -08:00 committed by GitHub
commit 24937bbed6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -244,6 +244,18 @@ lifecycle manager, respectively.
### Manual
Simplest way is to invoke `kubectl delete` on the deployment files you used.
Beware that this will also delete the namespace that NFD is running in. For
example:
```bash
kubectl delete -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/{{ site.release }}/nfd-worker-daemonset.yaml.template
kubectl delete -f https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/{{ site.release }}/nfd-master.yaml.template
```
Alternatively you can delete create objects one-by-one, depending on the type
of deployment, for example:
```bash
NFD_NS=node-feature-discovery
kubectl -n $NFD_NS delete ds nfd-worker