Difference between revisions of "Kubectl describe deployment"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
[[kubectl describe]] deployment | egrep -w "Port|Ports" | grep -v Host | [[kubectl describe]] deployment | egrep -w "Port|Ports" | grep -v Host | ||
+ | |||
+ | == Examples == | ||
+ | {{kubectl describe deployment kubectl create deploy nginx}} | ||
== Related == | == Related == |
Revision as of 15:22, 15 February 2024
kubectl describe deployment kubectl describe deployments kubectl describe deployment -n yournamespace .../....
kubectl describe deployment grafana kubectl describe deployment example
kubectl describe deployment -A
kubectl describe deployment -A | grep "StrategyType" StrategyType: RollingUpdate StrategyType: Recreate
kubectl describe deployment | egrep -w "Port|Ports" | grep -v Host
Examples
kubectl describe deployment my-web-deployment-v1 Name: my-web-deployment-v1 Namespace: default CreationTimestamp: Thu, 15 Feb 2024 16:12:09 +0100 Labels: app=my-web-deployment-v1 Annotations: deployment.kubernetes.io/revision: 1 Selector: app=my-web-deployment-v1 Replicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 25% max unavailable, 25% max surge Pod Template: Labels: app=my-web-deployment-v1 Containers: nginx: Image: nginx Port: 80/TCP Host Port: 0/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: my-web-deployment-v1-8bd6566ff (1/1 replicas created) Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal ScalingReplicaSet 2m31s deployment-controller Scaled up replica set my-web-deployment-v1-8bd6566ff to 1
Related
See also
- Kubernetes deployments, strategies:
kind: Deployment
, Strategies:Recreate
orRollingUpdate
,kubectl
[create | describe | get | scale | rollout | deployment/
], Kubernetes Canary Deployments,deployment.kubernetes.io
kubectl describe [ nodes | pods | deployment | pv | pvc | secrets | configmaps | networkpolicy | job ]
Advertising: