Skip to content

Instantly share code, notes, and snippets.

@paul-lupu
Created April 20, 2020 19:42
Show Gist options
  • Save paul-lupu/b85d61e3f563f3a68f2c0623b8ab2f5a to your computer and use it in GitHub Desktop.
Save paul-lupu/b85d61e3f563f3a68f2c0623b8ab2f5a to your computer and use it in GitHub Desktop.
paul.lupu@SVROLP00209:~/work/other/mi-kube-cluster/efs-setup-dev:(master)\
_$ kubectl get nodes -o wide
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
ip-172-31-167-34.ec2.internal Ready <none> 4d22h v1.15.10-eks-bac369 172.31.167.34 3.220.167.72 Amazon Linux 2 4.14.165-133.209.amzn2.x86_64 docker://18.9.9
paul.lupu@SVROLP00209:~/work/other/mi-kube-cluster/efs-setup-dev:(master)\
_$ kubectl get events
LAST SEEN TYPE REASON OBJECT MESSAGE
75s Warning FailedScheduling pod/mi-web-dev-mobileinsight-web-876664d6d-hzltx 0/1 nodes are available: 1 Insufficient pods.
56m Normal SuccessfulCreate replicaset/mi-web-dev-mobileinsight-web-876664d6d Created pod: mi-web-dev-mobileinsight-web-876664d6d-hzltx
56m Normal ScalingReplicaSet deployment/mi-web-dev-mobileinsight-web Scaled up replica set mi-web-dev-mobileinsight-web-876664d6d to 1
paul.lupu@SVROLP00209:~/work/other/mi-kube-cluster/efs-setup-dev:(master)\
_$ kubectl get pvc
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE
efs-claim-dev Bound dev-storage 5Gi RWX efs-sc 179m
paul.lupu@SVROLP00209:~/work/other/mi-kube-cluster/efs-setup-dev:(master)\
_$ kubectl describe pvc efs-claim-dev
Name: efs-claim-dev
Namespace: default
StorageClass: efs-sc
Status: Bound
Volume: dev-storage
Labels: <none>
Annotations: kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"annotations":{},"name":"efs-claim-dev","namespace":"default"},"spec":{"acce...
pv.kubernetes.io/bind-completed: yes
pv.kubernetes.io/bound-by-controller: yes
Finalizers: [kubernetes.io/pvc-protection]
Capacity: 5Gi
Access Modes: RWX
VolumeMode: Filesystem
Mounted By: mi-web-dev-mobileinsight-web-67b8878467-6vjkb
mi-web-dev-mobileinsight-web-876664d6d-hzltx
Events: <none>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment