Skip to content

Instantly share code, notes, and snippets.

@aaronjpitty
Created May 2, 2017 09:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronjpitty/e6f839725a392f355d7a9838f9553145 to your computer and use it in GitHub Desktop.
Save aaronjpitty/e6f839725a392f355d7a9838f9553145 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":"ReplicaSet","namespace":"default","name":"jeff-1479495760","uid":"f30a1ba5-2f18-11e7-8b20-0272609c65f4","apiVersion":"extensions","resourceVersion":"348364"}}
creationTimestamp: 2017-05-02T09:23:06Z
generateName: jeff-1479495760-
labels:
app: jeff
pod-template-hash: "1479495760"
version: latest
name: jeff-1479495760-mqpg8
namespace: default
ownerReferences:
- apiVersion: extensions/v1beta1
blockOwnerDeletion: true
controller: true
kind: ReplicaSet
name: jeff-1479495760
uid: f30a1ba5-2f18-11e7-8b20-0272609c65f4
resourceVersion: "348908"
selfLink: /api/v1/namespaces/default/pods/jeff-1479495760-mqpg8
uid: f30c0176-2f18-11e7-8b20-0272609c65f4
spec:
containers:
- image: git-registry.URL.com/containers/am-jeff-test:latest
imagePullPolicy: Always
name: jeff
resources: {}
securityContext:
privileged: false
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-q5srx
readOnly: true
dnsPolicy: ClusterFirst
imagePullSecrets:
- name: gitlabsecret
nodeName: mr-devops
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
tolerations:
- effect: NoExecute
key: node.alpha.kubernetes.io/notReady
operator: Exists
tolerationSeconds: 300
- effect: NoExecute
key: node.alpha.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
- name: default-token-q5srx
secret:
defaultMode: 420
secretName: default-token-q5srx
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2017-05-02T09:23:08Z
status: "True"
type: Initialized
- lastProbeTime: null
lastTransitionTime: 2017-05-02T09:24:38Z
message: 'containers with unready status: [jeff]'
reason: ContainersNotReady
status: "False"
type: Ready
- lastProbeTime: null
lastTransitionTime: 2017-05-02T09:23:06Z
status: "True"
type: PodScheduled
containerStatuses:
- containerID: docker://3ce059626fb4ff56c701afebd7501949689b54719111dc0c222b03f977ab1746
image: git-registry.URL.com/containers/am-jeff-test:latest
imageID: docker-pullable://git-registry.URL.com/containers/am-jeff-test@sha256:1cecc43e9b4347a51eb1dc2a45670c55f7ddbdc02864ec662f2e5ea9ca15c554
lastState:
terminated:
containerID: docker://3ce059626fb4ff56c701afebd7501949689b54719111dc0c222b03f977ab1746
exitCode: 0
finishedAt: 2017-05-02T09:28:46Z
reason: Completed
startedAt: null
name: jeff
ready: false
restartCount: 6
state:
waiting:
message: Back-off 5m0s restarting failed container=jeff pod=jeff-1479495760-mqpg8_default(f30c0176-2f18-11e7-8b20-0272609c65f4)
reason: CrashLoopBackOff
hostIP: 192.168.254.245
phase: Running
podIP: 10.36.0.14
qosClass: BestEffort
startTime: 2017-05-02T09:23:08Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment