tldr/pages.de/common/kubectl-get.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

871 B

kubectl get

Abfragen von Kubernetes Resourcen und Objekten. Weitere Informationen: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get.

  • Zeige alle Namespaces im Cluster an:

kubectl get namespaces

  • Frage alle Nodes in einem bestimmten Namespace ab:

kubectl get nodes --namespace {{namespace}}

  • Frage alle Pods in einem bestimmten Namespace ab:

kubectl get pods --namespace {{namespace}}

  • Frage alle Deployments in einem bestimmten Namespace ab:

kubectl get deployments --namespace {{namespace}}

  • Frage alle Services in einem bestimmten Namespace ab:

kubectl get services --namespace {{namespace}}

  • Frage alle Resourcen in einem bestimmten Namespace ab:

kubectl get all --namespace {{namespace}}

  • Frage alle Ressourcen ab, die in einer YAML Datei definiert sind:

kubectl get -f {{pfad/zu/manifest.yaml}}