Kubectl describe deployment example

From wikieduonline
Revision as of 12:20, 15 January 2024 by Welcome (talk | contribs) (Created page with "kube-dump# k describe deployment -n yournamesapce Name: deployment Namespace: yournamesapce CreationTimestamp: Mon, 16 Oct 2023 15:23:17 +0...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

kube-dump# k describe deployment -n yournamesapce Name: deployment Namespace: yournamesapce 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: