Difference between revisions of "Kubectl describe deployment example"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  kubectl describe deployment -n yournamesapce
+
  [[kubectl describe deployment]] -n yournamespace yourdeployement
  Name:                  deployment
+
  Name:                  yourdeployment
  Namespace:              yournamesapce
+
  Namespace:              yournamespace
 
  CreationTimestamp:      Mon, 16 Oct 2023 15:23:17 +0200
 
  CreationTimestamp:      Mon, 16 Oct 2023 15:23:17 +0200
 
  Labels:                workload.user.cattle.io/workloadselector=apps.deploymet yournamesapce-deployment
 
  Labels:                workload.user.cattle.io/workloadselector=apps.deploymet yournamesapce-deployment
Line 44: 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>


kubectl describe deployment

Advertising: