Kubernetes Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Subjects

Runtimes

Namespace Operations

kubectl get namespaces|ns
kubectl delete namespace|ns <namespace-name>

Pod Operations

kubectl get pods|po
kubectl describe pod <pod-name>
kubectl log <pod-name>

To Redistribute

Get the Manifest for an Existing Object

The manifest can be used to recreate the object:

kubectl get pod pod-name --export -o yaml