Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save j-griffith/ef234687809f45d02a085f510acdcd51 to your computer and use it in GitHub Desktop.
Save j-griffith/ef234687809f45d02a085f510acdcd51 to your computer and use it in GitHub Desktop.
doublehaul ➜ olm-local-volumes git:(master) ✗ k get pods -o yaml
apiVersion: v1
items:
- apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2019-05-31T15:21:09Z"
name: my-pod
namespace: default
resourceVersion: "2865149"
selfLink: /api/v1/namespaces/default/pods/my-pod
uid: b762d10c-83b7-11e9-a597-fa163e909488
spec:
containers:
- command:
- sleep
- “300”
image: busybox
imagePullPolicy: IfNotPresent
name: my-container
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeDevices:
- devicePath: /dev/block
name: my-volume
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-f45mc
readOnly: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
priority: 0
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: my-volume
persistentVolumeClaim:
claimName: local-claim
- name: default-token-f45mc
secret:
defaultMode: 420
secretName: default-token-f45mc
status:
conditions:
- lastProbeTime: null
lastTransitionTime: "2019-05-31T15:21:09Z"
message: '0/3 nodes are available: 3 node(s) didn''t find available persistent
volumes to bind.'
reason: Unschedulable
status: "False"
type: PodScheduled
phase: Pending
qosClass: BestEffort
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment