1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 13:42:07 +02:00
tldr/pages.de/common/kubectl-delete.md
Jan 37d0281021
kubectl-*: add German translation (#8746)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: pixel <pixel+github@chrissx.de>
Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2022-12-21 04:34:38 +01:00

803 B

kubectl delete

Lösche Kubernetes-Ressourcen. Weitere Informationen: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#delete.

  • Lösche einen bestimmten Pod:

kubectl delete pod {{pod_name}}

  • Lösche ein bestimmtes Deployment:

kubectl delete deployment {{deployment_name}}

  • Lösche eine bestimmte Node:

kubectl delete node {{node_name}}

  • Lösche alle Pods in einem bestimmten Namespaces:

kubectl delete pods --all --namespace {{namespace}}

  • Lösche alle Deployments und Services in einem bestimmten Namespace:

kubectl delete deployments,services --all --namespace {{namespace}}

  • Lösche alle Nodes:

kubectl delete nodes --all

  • Lösche Resourcen, die in einer YAML Datei definiert sind:

kubectl delete --filename {{pfad/zu/manifest.yaml}}