github.com/argoproj/argo-cd@v1.8.7/util/health/testdata/pod-running-restart-always.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  metadata:
     4    creationTimestamp: 2018-12-02T09:24:46Z
     5    name: my-pod
     6    namespace: argocd
     7    resourceVersion: "151753"
     8    selfLink: /api/v1/namespaces/argocd/pods/my-pod
     9    uid: 1c3943ee-f614-11e8-a057-fe5f49266390
    10  spec:
    11    containers:
    12    - command:
    13      - sh
    14      - -c
    15      - sleep 99999
    16      image: alpine:latest
    17      imagePullPolicy: Always
    18      name: main
    19      resources: {}
    20      terminationMessagePath: /dev/termination-log
    21      terminationMessagePolicy: File
    22      volumeMounts:
    23      - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
    24        name: default-token-f9jvj
    25        readOnly: true
    26    dnsPolicy: ClusterFirst
    27    nodeName: minikube
    28    restartPolicy: Always
    29    schedulerName: default-scheduler
    30    securityContext: {}
    31    serviceAccount: default
    32    serviceAccountName: default
    33    terminationGracePeriodSeconds: 30
    34    tolerations:
    35    - effect: NoExecute
    36      key: node.kubernetes.io/not-ready
    37      operator: Exists
    38      tolerationSeconds: 300
    39    - effect: NoExecute
    40      key: node.kubernetes.io/unreachable
    41      operator: Exists
    42      tolerationSeconds: 300
    43    volumes:
    44    - name: default-token-f9jvj
    45      secret:
    46        defaultMode: 420
    47        secretName: default-token-f9jvj
    48  status:
    49    conditions:
    50    - lastProbeTime: null
    51      lastTransitionTime: 2018-12-02T09:24:46Z
    52      status: "True"
    53      type: Initialized
    54    - lastProbeTime: null
    55      lastTransitionTime: 2018-12-02T09:24:50Z
    56      status: "True"
    57      type: Ready
    58    - lastProbeTime: null
    59      lastTransitionTime: 2018-12-02T09:24:46Z
    60      status: "True"
    61      type: PodScheduled
    62    containerStatuses:
    63    - containerID: docker://be00d86c48878b352f0ae0cae5dd4ba78025726a62893c768a0fd5754f45e93a
    64      image: alpine:latest
    65      imageID: docker-pullable://alpine@sha256:621c2f39f8133acb8e64023a94dbdf0d5ca81896102b9e57c0dc184cadaf5528
    66      lastState: {}
    67      name: main
    68      ready: true
    69      restartCount: 0
    70      state:
    71        running:
    72          startedAt: 2018-12-02T09:24:49Z
    73    hostIP: 192.168.64.41
    74    phase: Running
    75    podIP: 172.17.0.9
    76    qosClass: BestEffort
    77    startTime: 2018-12-02T09:24:46Z