Skip to content

Instantly share code, notes, and snippets.

@badri
Created February 14, 2020 10:52
Show Gist options
  • Save badri/eb8ede0d47b33a1a30f395e139d2c70a to your computer and use it in GitHub Desktop.
Save badri/eb8ede0d47b33a1a30f395e139d2c70a to your computer and use it in GitHub Desktop.
$ oc get nodes --show-labels
NAME STATUS ROLES AGE VERSION LABELS
console.plain-breeze-26d0.shapeblock.cloud Ready master 1h v1.11.0+d4cacc0 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=console.plain-breeze-26d0.shapeblock.cloud,node-role.kubernetes.io/master=true
infra.plain-breeze-26d0.shapeblock.cloud Ready infra 1h v1.11.0+d4cacc0 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=infra.plain-breeze-26d0.shapeblock.cloud,node-role.kubernetes.io/infra=true
node-01.plain-breeze-26d0.shapeblock.cloud Ready compute 1h v1.11.0+d4cacc0 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=node-01.plain-breeze-26d0.shapeblock.cloud,node-role.kubernetes.io/compute=true
$ oc get pods -n openebs
NAME READY STATUS RESTARTS AGE
maya-apiserver-b76dff584-9c6jb 1/1 Running 4 39m
openebs-admission-server-554cffc98c-nwmmx 1/1 Running 0 39m
openebs-localpv-provisioner-6fbd774646-xpmls 1/1 Running 1 39m
openebs-ndm-operator-555798bcbd-2spj2 1/1 Running 1 39m
openebs-ndm-qbc8b 1/1 Running 0 39m
openebs-provisioner-5887df8485-clwwn 1/1 Running 1 39m
openebs-snapshot-operator-5ccdc9b457-f66sq 2/2 Running 1 39m
pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25-ctrl-5c7b5fdd5d-6s6cf 2/2 Running 0 36s
pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25-rep-7956d5dd86-8z9bs 0/1 Pending 0 36s
pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25-rep-7956d5dd86-kfdwf 1/1 Running 0 36s
pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25-rep-7956d5dd86-l862j 0/1 Pending 0 36s
$ oc describe pod pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25-rep-7956d5dd86-l862j -n openebs
Name: pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25-rep-7956d5dd86-l862j
Namespace: openebs
Priority: 0
PriorityClassName: <none>
Node: <none>
Labels: openebs.io/persistent-volume=pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25
openebs.io/persistent-volume-claim=test-3
openebs.io/replica=jiva-replica
openebs.io/version=1.6.0
pod-template-hash=3512818842
Annotations: openebs.io/capacity=1Gi
openebs.io/storage-class-ref=name: openebs-jiva-default
resourceVersion: 12539
openebs.io/storage-pool=default
openshift.io/scc=restricted
Status: Pending
IP:
Controlled By: ReplicaSet/pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25-rep-7956d5dd86
Containers:
pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25-rep-con:
Image: quay.io/openebs/jiva:1.6.0
Ports: 9502/TCP, 9503/TCP, 9504/TCP
Host Ports: 0/TCP, 0/TCP, 0/TCP
Command:
launch
Args:
replica
--frontendIP
172.30.181.192
--size
1Gi
/openebs
Environment: <none>
Mounts:
/openebs from openebs (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-glmbt (ro)
Conditions:
Type Status
PodScheduled False
Volumes:
openebs:
Type: HostPath (bare host directory volume)
Path: /var/openebs/pvc-ce1fde60-4f17-11ea-b4da-6ecace0d8c25
HostPathType:
default-token-glmbt:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-glmbt
Optional: false
QoS Class: BestEffort
Node-Selectors: node-role.kubernetes.io/compute=true
Tolerations: node.alpha.kubernetes.io/notReady:NoExecute
node.alpha.kubernetes.io/unreachable:NoExecute
node.cloudprovider.kubernetes.io/uninitialized:NoExecute
node.kubernetes.io/disk-pressure:NoExecute
node.kubernetes.io/memory-pressure:NoExecute
node.kubernetes.io/network-unavailable:NoExecute
node.kubernetes.io/not-ready:NoExecute
node.kubernetes.io/out-of-disk:NoExecute
node.kubernetes.io/unreachable:NoExecute
node.kubernetes.io/unschedulable:NoExecute
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedScheduling 6s (x20 over 1m) default-scheduler 0/3 nodes are available: 1 node(s) didn't match pod affinity/anti-affinity, 1 node(s) didn't satisfy existing pods anti-affinity rules, 2 node(s) didn't match node selector.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment