Skip to content

Instantly share code, notes, and snippets.

@andre-merzky
Created February 28, 2018 21:10
Show Gist options
  • Save andre-merzky/547f05e3fd298143374622b81ec02607 to your computer and use it in GitHub Desktop.
Save andre-merzky/547f05e3fd298143374622b81ec02607 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/created-by: >
{"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicationController","namespace":"radical-nge","name":"radical-nge-3-1","uid":"4119cd1b-1cca-11e8-972b-005056b78d70","apiVersion":"v1","resourceVersion":"56031866"}}
kubernetes.io/limit-ranger: >-
LimitRanger plugin set: cpu, memory request for container radical-nge-3;
cpu, memory limit for container radical-nge-3
openshift.io/deployment-config.latest-version: '1'
openshift.io/deployment-config.name: radical-nge-3
openshift.io/deployment.name: radical-nge-3-1
openshift.io/generated-by: OpenShiftWebConsole
openshift.io/scc: restricted
creationTimestamp: '2018-02-28T20:59:30Z'
generateName: radical-nge-3-1-
labels:
app: radical-nge-3
deployment: radical-nge-3-1
deploymentconfig: radical-nge-3
name: radical-nge-3-1-zrjgs
namespace: radical-nge
ownerReferences:
- apiVersion: v1
blockOwnerDeletion: true
controller: true
kind: ReplicationController
name: radical-nge-3-1
uid: 4119cd1b-1cca-11e8-972b-005056b78d70
resourceVersion: '56033062'
selfLink: /api/v1/namespaces/radical-nge/pods/radical-nge-3-1-zrjgs
uid: 44f8eebb-1cca-11e8-972b-005056b78d70
spec:
containers:
- image: >-
andremerzky/radical.nge@sha256:56398e4ae6621661e96d22b46045eb6ed42cf322125e82f98e8bc669ecc4534b
imagePullPolicy: Always
name: radical-nge-3
ports:
- containerPort: 8080
protocol: TCP
resources:
limits:
cpu: 300m
memory: 500Mi
requests:
cpu: 100m
memory: 500Mi
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
privileged: false
runAsUser: 1000340000
seLinuxOptions:
level: 's0:c18,c17'
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-s7vbg
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: default-dockercfg-tczjt
nodeName: openshift-node3.ccs.ornl.gov
nodeSelector:
region: primary
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 1000340000
seLinuxOptions:
level: 's0:c18,c17'
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
volumes:
- name: default-token-s7vbg
secret:
defaultMode: 420
secretName: default-token-s7vbg
status:
conditions:
- lastProbeTime: null
lastTransitionTime: '2018-02-28T20:59:30Z'
status: 'True'
type: Initialized
- lastProbeTime: null
lastTransitionTime: '2018-02-28T21:06:00Z'
message: 'containers with unready status: [radical-nge-3]'
reason: ContainersNotReady
status: 'False'
type: Ready
- lastProbeTime: null
lastTransitionTime: '2018-02-28T20:59:30Z'
status: 'True'
type: PodScheduled
containerStatuses:
- containerID: >-
docker://8e283e46a62c1b570aab40f9cf4bac252df3781073961e7208aab2d27c52d377
image: >-
docker.io/andremerzky/radical.nge@sha256:56398e4ae6621661e96d22b46045eb6ed42cf322125e82f98e8bc669ecc4534b
imageID: >-
docker-pullable://docker.io/andremerzky/radical.nge@sha256:56398e4ae6621661e96d22b46045eb6ed42cf322125e82f98e8bc669ecc4534b
lastState:
terminated:
containerID: >-
docker://8e283e46a62c1b570aab40f9cf4bac252df3781073961e7208aab2d27c52d377
exitCode: 1
finishedAt: '2018-02-28T21:05:59Z'
reason: Error
startedAt: '2018-02-28T21:05:58Z'
name: radical-nge-3
ready: false
restartCount: 6
state:
waiting:
message: >-
Back-off 5m0s restarting failed container=radical-nge-3
pod=radical-nge-3-1-zrjgs_radical-nge(44f8eebb-1cca-11e8-972b-005056b78d70)
reason: CrashLoopBackOff
hostIP: 160.91.205.5
phase: Running
podIP: 10.132.7.80
qosClass: Burstable
startTime: '2018-02-28T20:59:30Z'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment