# argocd_source_pod-failed.yaml
apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: 2018-12-02T09:17:56Z
  name: my-pod
  namespace: argocd
  resourceVersion: "151243"
  selfLink: /api/v1/namespaces/argocd/pods/my-pod
  uid: 27c0fdf5-f613-11e8-a057-fe5f49266390
spec:
  containers:
  - command:
    - sh
    - -c
    - exit 1
    image: alpine:latest
    imagePullPolicy: Always
    name: main
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: default-token-f9jvj
      readOnly: true
  dnsPolicy: ClusterFirst
  nodeName: minikube
  restartPolicy: Never
  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: default-token-f9jvj
    secret:
      defaultMode: 420
      secretName: default-token-f9jvj
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: 2018-12-02T09:17:56Z
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: 2018-12-02T09:17:56Z
    message: 'containers with unready status: [main]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: 2018-12-02T09:17:56Z
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: docker://e5f5ce03ecf6d5ad7e131aac09053e5ef6212b067b3d10f3e39ef6e176a3ed60
    image: alpine:latest
    imageID: docker-pullable://alpine@sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
    lastState: {}
    name: main
    ready: false
    restartCount: 0
    state:
      terminated:
        containerID: docker://e5f5ce03ecf6d5ad7e131aac09053e5ef6212b067b3d10f3e39ef6e176a3ed60
        exitCode: 1
        finishedAt: 2018-12-02T09:17:59Z
        reason: Error
        startedAt: 2018-12-02T09:17:59Z
  hostIP: 192.168.64.41
  phase: Failed
  podIP: 172.17.0.9
  qosClass: BestEffort
  startTime: 2018-12-02T09:17:56Z