How do i list the kubernetes deployments?
-
Shows the long version and the use of the alias.
Deployment enables declarative updates for Pods and ReplicaSets.
$ kubectl get deployments NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE webserver 3 3 3 3 16m
$ kubectl get deploy NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE webserver 3 3 3 3 16m
© Lightnetics 2024