# argocd_source_pod-crashloop.yaml
apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: 2018-12-02T09:19:36Z
  name: my-pod
  namespace: argocd
  resourceVersion: "151454"
  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://c3aa0064b95a26045999b99c268e715a1c64201e816f1279ac06638778547bb8
    image: alpine:latest
    imageID: docker-pullable://alpine@sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
    lastState:
      terminated:
        containerID: docker://c3aa0064b95a26045999b99c268e715a1c64201e816f1279ac06638778547bb8
        exitCode: 1
        finishedAt: 2018-12-02T09:20:25Z
        reason: Error
        startedAt: 2018-12-02T09:20:25Z
    name: main
    ready: false
    restartCount: 3
    state:
      waiting:
        message: Back-off 40s restarting failed container=main pod=my-pod_argocd(63674389-f613-11e8-a057-fe5f49266390)
        reason: CrashLoopBackOff
  hostIP: 192.168.64.41
  phase: Running
  podIP: 172.17.0.9
  qosClass: BestEffort
  startTime: 2018-12-02T09:19:36Z