Editing Kubectl create deploy
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
− | + | [[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 | ||
Advertising: