Difference between revisions of "Kubernetes"
Jump to navigation
Jump to search
(Created page with "=== Kubernetes === == kubectl == <code>kubectl get pods</code> Show all pods</br> </br> <code>kubectl run <pod-name> --image=nginx</code> Run new nginx pod</br> </br> <code>kubectl describe pod <pod-name></code> Describe pod</br> <code>kubectl edit pod <pod-name></code> Edit pod with editor</br> <code>kubectl delete pod <pod-name></code> Delete pod from default namespace</br>") |
|||
| Line 3: | Line 3: | ||
== kubectl == | == kubectl == | ||
<code>kubectl get pods</code> Show all pods</br> | <code>kubectl get pods</code> Show all pods</br> | ||
<code>kubectl get pods -o wide</code> Show all pods with more info</br> | |||
</br> | </br> | ||
<code>kubectl run <pod-name> --image=nginx</code> Run new nginx pod</br> | <code>kubectl run <pod-name> --image=nginx</code> Run new nginx pod</br> | ||
Revision as of 17:05, 21 January 2026
Kubernetes
kubectl
kubectl get pods Show all pods
kubectl get pods -o wide Show all pods with more info
kubectl run <pod-name> --image=nginx Run new nginx pod
kubectl describe pod <pod-name> Describe pod
kubectl edit pod <pod-name> Edit pod with editor
kubectl delete pod <pod-name> Delete pod from default namespace