# argocd_source_pod-error.yaml
apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: 2018-12-02T09:19:36Z
  name: my-pod
  namespace: argocd
  resourceVersion: "151396"
  selfLink: /api/v1/namespaces/argocd/pods/my-pod
  uid: 63674389-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: Always
  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:19:36Z
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: 2018-12-02T09:19:36Z
    message: 'containers with unready status: [main]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: 2018-12-02T09:19:36Z
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: docker://fc8dca42fb4f35dac154db3ed45ad7952523345d470b2992779a03c332589ac4
    image: alpine:latest
    imageID: docker-pullable://alpine@sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
    lastState:
      terminated:
        containerID: docker://54fe1af9c2c0b61b3697abfeb33adc9ce76ec192b3703b46278d9df7573dff72
        exitCode: 1
        finishedAt: 2018-12-02T09:19:41Z
        reason: Error
        startedAt: 2018-12-02T09:19:41Z
    name: main
    ready: false
    restartCount: 2
    state:
      terminated:
        containerID: docker://fc8dca42fb4f35dac154db3ed45ad7952523345d470b2992779a03c332589ac4
        exitCode: 1
        finishedAt: 2018-12-02T09:19:56Z
        reason: Error
        startedAt: 2018-12-02T09:19:56Z
  hostIP: 192.168.64.41
  phase: Running
  podIP: 172.17.0.9
  qosClass: BestEffort
  startTime: 2018-12-02T09:19:36Z