Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ncameronbritt/1baab307c91c1a98420c5814e33d318d to your computer and use it in GitHub Desktop.
Save ncameronbritt/1baab307c91c1a98420c5814e33d318d to your computer and use it in GitHub Desktop.
Camerons-MacBook-Pro:origin cbritt$ oc get pods -n openshift-template-service-broker -o yaml
apiVersion: v1
items:
- apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/created-by: |
{"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"DaemonSet","namespace":"openshift-template-service-broker","name":"apiserver","uid":"a513249a-88f9-11e7-8d97-6230b0a8a8be","apiVersion":"extensions","resourceVersion":"802"}}
openshift.io/scc: restricted
creationTimestamp: 2017-08-24T18:25:46Z
generateName: apiserver-
labels:
apiserver: "true"
controller-revision-hash: "1899658411"
pod-template-generation: "1"
name: apiserver-1l1h5
namespace: openshift-template-service-broker
ownerReferences:
- apiVersion: extensions/v1beta1
blockOwnerDeletion: true
controller: true
kind: DaemonSet
name: apiserver
uid: a513249a-88f9-11e7-8d97-6230b0a8a8be
resourceVersion: "2342"
selfLink: /api/v1/namespaces/openshift-template-service-broker/pods/apiserver-1l1h5
uid: a560a62d-88f9-11e7-8d97-6230b0a8a8be
spec:
containers:
- command:
- /usr/bin/openshift
- start
- template-service-broker
- --secure-port=8443
- --audit-log-path=-
- --tls-cert-file=/var/serving-cert/tls.crt
- --tls-private-key-file=/var/serving-cert/tls.key
- --template-namespace=openshift
image: openshift/origin
imagePullPolicy: Always
name: c
ports:
- containerPort: 8443
protocol: TCP
resources: {}
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
- SYS_CHROOT
privileged: false
runAsUser: 1000050000
seLinuxOptions:
level: s0:c7,c4
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/serving-cert
name: serving-cert
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: apiserver-token-qcgqd
readOnly: true
dnsPolicy: ClusterFirst
nodeName: localhost
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 1000050000
seLinuxOptions:
level: s0:c7,c4
serviceAccount: apiserver
serviceAccountName: apiserver
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.alpha.kubernetes.io/notReady
operator: Exists
- effect: NoExecute
key: node.alpha.kubernetes.io/unreachable
operator: Exists
volumes:
- name: serving-cert
secret:
defaultMode: 420
secretName: apiserver-serving-cert
- name: apiserver-token-qcgqd
secret:
defaultMode: 420
secretName: apiserver-token-qcgqd
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2017-08-24T18:25:46Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2017-08-24T18:45:29Z
message: 'containers with unready status: [c]'
reason: ContainersNotReady
status: "False"
type: Ready
- lastProbeTime: null
lastTransitionTime: 2017-08-24T18:29:27Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://7f2049292e8af50d7993043272a32774f67aa67bf2898a7e84f6b6ac120f8069
image: openshift/origin:latest
imageID: docker-pullable://openshift/origin@sha256:3b3460a0b618970bbdccaf18fadc9af61e6204f0fd61af3e0556dfc0423c9606
lastState:
terminated:
containerID: docker://7f2049292e8af50d7993043272a32774f67aa67bf2898a7e84f6b6ac120f8069
exitCode: 1
finishedAt: 2017-08-24T18:56:57Z
reason: Error
startedAt: 2017-08-24T18:56:57Z
name: c
ready: false
restartCount: 10
state:
waiting:
message: Back-off 5m0s restarting failed container=c pod=apiserver-1l1h5_openshift-template-service-broker(a560a62d-88f9-11e7-8d97-6230b0a8a8be)
reason: CrashLoopBackOff
hostIP: 192.168.65.2
phase: Running
podIP: 172.17.0.6
qosClass: BestEffort
startTime: 2017-08-24T18:25:46Z
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment