Difference between revisions of "Kubectl get deployment"

From wikieduonline
Jump to navigation Jump to search
Line 20: Line 20:
 
  metrics-server                    1/1    1            1          28h
 
  metrics-server                    1/1    1            1          28h
 
  my-release-kubernetes-dashboard  1/1    1            1          28h
 
  my-release-kubernetes-dashboard  1/1    1            1          28h
 
  
 
  [[kubectl get deployments -o json grafana]]
 
  [[kubectl get deployments -o json grafana]]

Revision as of 16:39, 25 July 2022

kubectl get deployments -A
kubectl get deployment
kubectl get deploy
kubectl get deployments --help
kubectl get deployments
No resources found in default namespace.
kubectl get deployment metrics-server -n kube-system
Error from server (NotFound): deployments.apps "metrics-server" not found
kubectl get deployment metrics-server
NAME             READY   UP-TO-DATE   AVAILABLE   AGE
metrics-server   1/1     1            1           2d4h
kubectl get deployment
NAME                              READY   UP-TO-DATE   AVAILABLE   AGE
metrics-server                    1/1     1            1           28h
my-release-kubernetes-dashboard   1/1     1            1           28h
kubectl get deployments -o json grafana

Related

See also

Advertising: