Difference between revisions of "Kubectl describe deployment example"
Jump to navigation
Jump to search
(Created page with "kube-dump# k describe deployment -n yournamesapce Name: deployment Namespace: yournamesapce CreationTimestamp: Mon, 16 Oct 2023 15:23:17 +0...") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
− | Name: | + | [[kubectl describe deployment]] -n yournamespace yourdeployement |
− | Namespace: | + | Name: yourdeployment |
− | CreationTimestamp: Mon, 16 Oct 2023 15:23:17 +0200 | + | Namespace: yournamespace |
− | Labels: workload.user.cattle.io/workloadselector=apps.deploymet yournamesapce-deployment | + | CreationTimestamp: Mon, 16 Oct 2023 15:23:17 +0200 |
− | Annotations: deployment.kubernetes.io/revision: 2 | + | Labels: workload.user.cattle.io/workloadselector=apps.deploymet yournamesapce-deployment |
− | Selector: workload.user.cattle.io/workloadselector=apps.deployment-yournamesapce-deployment | + | Annotations: deployment.kubernetes.io/revision: 2 |
− | Replicas: 1 desired | 1 updated | 1 total | 0 available | 1 unavailable | + | Selector: workload.user.cattle.io/workloadselector=apps.deployment-yournamesapce-deployment |
− | StrategyType: RollingUpdate | + | Replicas: 1 desired | 1 updated | 1 total | 0 available | 1 unavailable |
− | MinReadySeconds: 0 | + | StrategyType: RollingUpdate |
− | RollingUpdateStrategy: 25% max unavailable, 25% max surge | + | MinReadySeconds: 0 |
− | Pod Template: | + | RollingUpdateStrategy: 25% max unavailable, 25% max surge |
+ | Pod Template: | ||
Labels: app=yournamesapce | Labels: app=yournamesapce | ||
workload.user.cattle.io/workloadselector=apps.deployment-yournamesapce-deployment | workload.user.cattle.io/workloadselector=apps.deployment-yournamesapce-deployment | ||
Line 43: | Line 44: | ||
ClaimName: myclaim3 | ClaimName: myclaim3 | ||
ReadOnly: false | ReadOnly: false | ||
− | Conditions: | + | Conditions: |
Type Status Reason | Type Status Reason | ||
---- ------ ------ | ---- ------ ------ | ||
Progressing True NewReplicaSetAvailable | Progressing True NewReplicaSetAvailable | ||
Available False MinimumReplicasUnavailable | Available False MinimumReplicasUnavailable | ||
− | OldReplicaSets: deployment-123 (0/0 replicas created) | + | OldReplicaSets: deployment-123 (0/0 replicas created) |
− | NewReplicaSet: deployment-12345 (1/1 replicas created) | + | NewReplicaSet: deployment-12345 (1/1 replicas created) |
− | Events: <none> | + | Events: <none> |
+ | |||
+ | |||
+ | {{kubectl describe deployment}} |
Latest revision as of 13:11, 15 January 2024
kubectl describe deployment -n yournamespace yourdeployement Name: yourdeployment Namespace: yournamespace CreationTimestamp: Mon, 16 Oct 2023 15:23:17 +0200 Labels: workload.user.cattle.io/workloadselector=apps.deploymet yournamesapce-deployment Annotations: deployment.kubernetes.io/revision: 2 Selector: workload.user.cattle.io/workloadselector=apps.deployment-yournamesapce-deployment Replicas: 1 desired | 1 updated | 1 total | 0 available | 1 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 25% max unavailable, 25% max surge Pod Template: Labels: app=yournamesapce workload.user.cattle.io/workloadselector=apps.deployment-yournamesapce-deployment Annotations: cattle.io/timestamp: 2023-12-13T15:24:17Z Containers: prod-container: Image: registry.eu.se.com/sesitdev/yourimage:latest Port: 80/TCP Host Port: 0/TCP Limits: cpu: 512m memory: 256Mi Requests: cpu: 128m memory: 128Mi Environment: <none> Mounts: /app/dir1 from vol-123 (rw) /app/dir2 from vol-123 (rw) /app/dir3 from vol-123 (rw) Volumes: myvol-1: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: myclaim1 ReadOnly: false myvol2: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: myclaim2 ReadOnly: false myvol3: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: myclaim3 ReadOnly: false Conditions: Type Status Reason ---- ------ ------ Progressing True NewReplicaSetAvailable Available False MinimumReplicasUnavailable OldReplicaSets: deployment-123 (0/0 replicas created) NewReplicaSet: deployment-12345 (1/1 replicas created) Events: <none>
Advertising: