Skip to content

Instantly share code, notes, and snippets.

@paul-lupu
Created April 20, 2020 19:33
Show Gist options
  • Save paul-lupu/6ddac7d4bfd128d86c9c0a0faa66c207 to your computer and use it in GitHub Desktop.
Save paul-lupu/6ddac7d4bfd128d86c9c0a0faa66c207 to your computer and use it in GitHub Desktop.
kubectl describe pods mi-web-dev-mobileinsight-web-876664d6d-hzltx
Name: mi-web-dev-mobileinsight-web-876664d6d-hzltx
Namespace: default
Priority: 0
Node: <none>
Labels: app.kubernetes.io/instance=mi-web-dev
app.kubernetes.io/name=mobileinsight-web
pod-template-hash=876664d6d
Annotations: kubernetes.io/psp: eks.privileged
Status: Pending
IP:
Controlled By: ReplicaSet/mi-web-dev-mobileinsight-web-876664d6d
Containers:
mobileinsight-web:
Image: 531705399537.dkr.ecr.us-east-1.amazonaws.com/mobileinsight-web:dev-DEV
Port: 80/TCP
Host Port: 0/TCP
Environment:
MOBILEINSIGHT_FQDN: mobileinsight.com
LOGI_SERVER_IP: 172.31.6.197
JAVA_OPTIONS: <set to the key 'opts-value' in secret 'mi-web-dev-java-opts'> Optional: false
Mounts:
/storage from persistent-storage-dev (rw)
/var/run/secrets/kubernetes.io/serviceaccount from mi-web-dev-mobileinsight-web-token-hxf54 (ro)
Conditions:
Type Status
PodScheduled False
Volumes:
persistent-storage-dev:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: efs-claim-dev
ReadOnly: false
mi-web-dev-mobileinsight-web-token-hxf54:
Type: Secret (a volume populated by a Secret)
SecretName: mi-web-dev-mobileinsight-web-token-hxf54
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 65s (x9 over 11m) default-scheduler 0/1 nodes are available: 1 Insufficient pods.
_$ kubectl get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
dev-storage 5Gi RWX Retain Bound default/efs-claim-dev efs-sc 171m
_$ kubectl describe pv dev-storage
Name: dev-storage
Labels: <none>
Annotations: kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"v1","kind":"PersistentVolume","metadata":{"annotations":{},"name":"dev-storage"},"spec":{"accessModes":["ReadWriteMany"],"c...
pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pv-protection]
StorageClass: efs-sc
Status: Bound
Claim: default/efs-claim-dev
Reclaim Policy: Retain
Access Modes: RWX
VolumeMode: Filesystem
Capacity: 5Gi
Node Affinity: <none>
Message:
Source:
Type: CSI (a Container Storage Interface (CSI) volume source)
Driver: efs.csi.aws.com
VolumeHandle: fs-5b89aadb
ReadOnly: false
VolumeAttributes: <none>
Events: <none>
_$ kk describe deployment mi-web-dev-mobileinsight-web
Name: mi-web-dev-mobileinsight-web
Namespace: default
CreationTimestamp: Mon, 20 Apr 2020 21:24:39 +0300
Labels: app.kubernetes.io/instance=mi-web-dev
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=mobileinsight-web
app.kubernetes.io/version=1.16.0
helm.sh/chart=mobileinsight-web-0.1.0
Annotations: deployment.kubernetes.io/revision: 2
Selector: app.kubernetes.io/instance=mi-web-dev,app.kubernetes.io/name=mobileinsight-web
Replicas: 1 desired | 1 updated | 2 total | 1 available | 1 unavailable
StrategyType: RollingUpdate
MinReadySeconds: 0
RollingUpdateStrategy: 25% max unavailable, 25% max surge
Pod Template:
Labels: app.kubernetes.io/instance=mi-web-dev
app.kubernetes.io/name=mobileinsight-web
Service Account: mi-web-dev-mobileinsight-web
Containers:
mobileinsight-web:
Image: 531705399537.dkr.ecr.us-east-1.amazonaws.com/mobileinsight-web:dev-DEV
Port: 80/TCP
Host Port: 0/TCP
Environment:
MOBILEINSIGHT_FQDN: mobileinsight.com
LOGI_SERVER_IP: 172.31.6.197
JAVA_OPTIONS: <set to the key 'opts-value' in secret 'mi-web-dev-java-opts'> Optional: false
Mounts:
/storage from persistent-storage-dev (rw)
Volumes:
persistent-storage-dev:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: efs-claim-dev
ReadOnly: false
Conditions:
Type Status Reason
---- ------ ------
Available True MinimumReplicasAvailable
Progressing False ProgressDeadlineExceeded
OldReplicaSets: mi-web-dev-mobileinsight-web-67b8878467 (1/1 replicas created)
NewReplicaSet: mi-web-dev-mobileinsight-web-876664d6d (1/1 replicas created)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ScalingReplicaSet 48m deployment-controller Scaled up replica set mi-web-dev-mobileinsight-web-876664d6d to 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment