Get all deployments under a namespace with kubectl
To get all deployments under a namespace with kubectl, just run the following command.
kubectl get deployments --namespace <namespace>
Advertisements
Example
$ kubectl get deployments --namespace airflow NAME READY UP-TO-DATE AVAILABLE AGE airflow-scheduler 1/1 1 1 2d3h airflow-web 1/1 1 1 2d3h