Skip to content

Instantly share code, notes, and snippets.

@DanyC97
Created May 23, 2018 21:45
Show Gist options
  • Save DanyC97/6b7a15ed8de87951cee6d038646e0918 to your computer and use it in GitHub Desktop.
Save DanyC97/6b7a15ed8de87951cee6d038646e0918 to your computer and use it in GitHub Desktop.
oc get po glusterblock-storage-provisioner-dc-1-864g5 -o yaml
apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/created-by: |
{"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicationController","namespace":"glusterfs","name":"glusterblock-storage-provisioner-dc-1","uid":"4a94ebd4-4402-11e8-8ea9-005056a2d8cc","apiVersion":"v1","resourceVersion":"18370005"}}
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: glusterblock-storage-provisioner-dc
openshift.io/deployment.name: glusterblock-storage-provisioner-dc-1
openshift.io/scc: foo-scc-restricted
creationTimestamp: 2018-05-18T13:11:54Z
generateName: glusterblock-storage-provisioner-dc-1-
labels:
deployment: glusterblock-storage-provisioner-dc-1
deploymentconfig: glusterblock-storage-provisioner-dc
glusterfs: block-storage-provisioner-pod
name: glusterblock-storage-provisioner-dc-1-864g5
namespace: glusterfs
ownerReferences:
- apiVersion: v1
blockOwnerDeletion: true
controller: true
kind: ReplicationController
name: glusterblock-storage-provisioner-dc-1
uid: 4a94ebd4-4402-11e8-8ea9-005056a2d8cc
resourceVersion: "18497512"
selfLink: /api/v1/namespaces/glusterfs/pods/glusterblock-storage-provisioner-dc-1-864g5
uid: 0941164f-5a9d-11e8-adbb-005056a2d783
spec:
containers:
- env:
- name: PROVISIONER_NAME
value: gluster.org/glusterblock
image: openshift/glusterblock-provisioner:latest
imagePullPolicy: IfNotPresent
name: glusterblock-provisioner
resources: {}
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SYS_CHROOT
privileged: false
seLinuxOptions:
level: s0:c8,c7
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: glusterblock-storage-provisioner-token-q9h7r
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: glusterblock-storage-provisioner-dockercfg-ch84m
nodeName: minion29
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 1000070000
seLinuxOptions:
level: s0:c8,c7
serviceAccount: glusterblock-storage-provisioner
serviceAccountName: glusterblock-storage-provisioner
terminationGracePeriodSeconds: 30
volumes:
- name: glusterblock-storage-provisioner-token-q9h7r
secret:
defaultMode: 420
secretName: glusterblock-storage-provisioner-token-q9h7r
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2018-05-18T13:11:54Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2018-05-18T13:12:03Z
status: "True"
type: Ready
- lastProbeTime: null
lastTransitionTime: 2018-05-18T13:11:54Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://c6ac9c9e185bd3476c165e28e4e3af461dc716ae0411146086436a20c0a59d31
image: 1.1.1.1:5000/openshift/glusterblock-provisioner:latest
imageID: docker-pullable://1.1.1.1:5000/openshift/glusterblock-provisioner@sha256:e9b758242edbc3149d470984b28e023720fb501245a95925637591934fcaca3f
lastState: {}
name: glusterblock-provisioner
ready: true
restartCount: 0
state:
running:
startedAt: 2018-05-18T13:12:03Z
hostIP: 1.1.1.3
phase: Running
podIP: 10.128.63.141
qosClass: BestEffort
startTime: 2018-05-18T13:11:54Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment