github.com/verrazzano/verrazzano@v1.7.0/tools/vz/pkg/analysis/test/cluster/problem-pods/cluster-snapshot/default/pods.json (about)

     1  {
     2      "kind": "PodList",
     3      "apiVersion": "v1",
     4      "metadata": {
     5          "selfLink": "/api/v1/namespaces/default/pods",
     6          "resourceVersion": "17490"
     7      },
     8      "items": [
     9          {
    10              "metadata": {
    11                  "name": "verrazzano-uninstall-my-verrazzano-tw7s7",
    12                  "generateName": "verrazzano-uninstall-my-verrazzano-",
    13                  "namespace": "default",
    14                  "selfLink": "/api/v1/namespaces/default/pods/verrazzano-uninstall-my-verrazzano-tw7s7",
    15                  "uid": "27e9fced-49dc-407c-82b6-518b9429d8de",
    16                  "resourceVersion": "17368",
    17                  "creationTimestamp": "2021-02-03T19:28:53Z",
    18                  "labels": {
    19                      "controller-uid": "ea08c461-cd01-40fc-89b9-e77f5c58aa48",
    20                      "job-name": "verrazzano-uninstall-my-verrazzano"
    21                  },
    22                  "ownerReferences": [
    23                      {
    24                          "apiVersion": "batch/v1",
    25                          "kind": "Job",
    26                          "name": "verrazzano-uninstall-my-verrazzano",
    27                          "uid": "ea08c461-cd01-40fc-89b9-e77f5c58aa48",
    28                          "controller": true,
    29                          "blockOwnerDeletion": true
    30                      }
    31                  ]
    32              },
    33              "spec": {
    34                  "volumes": [
    35                      {
    36                          "name": "verrazzano-install-my-verrazzano-token-8xdjm",
    37                          "secret": {
    38                              "secretName": "verrazzano-install-my-verrazzano-token-8xdjm",
    39                              "defaultMode": 420
    40                          }
    41                      }
    42                  ],
    43                  "containers": [
    44                      {
    45                          "name": "uninstall",
    46                          "image": "REDACTED-FOR-TEST",
    47                          "env": [
    48                              {
    49                                  "name": "MODE",
    50                                  "value": "UNINSTALL"
    51                              },
    52                              {
    53                                  "name": "CLUSTER_TYPE",
    54                                  "value": "OKE"
    55                              },
    56                              {
    57                                  "name": "VERRAZZANO_KUBECONFIG",
    58                                  "value": "/home/verrazzano/kubeconfig"
    59                              },
    60                              {
    61                                  "name": "DEBUG",
    62                                  "value": "1"
    63                              }
    64                          ],
    65                          "resources": {},
    66                          "volumeMounts": [
    67                              {
    68                                  "name": "verrazzano-install-my-verrazzano-token-8xdjm",
    69                                  "readOnly": true,
    70                                  "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
    71                              }
    72                          ],
    73                          "terminationMessagePath": "/dev/termination-log",
    74                          "terminationMessagePolicy": "File",
    75                          "imagePullPolicy": "IfNotPresent"
    76                      }
    77                  ],
    78                  "restartPolicy": "Never",
    79                  "terminationGracePeriodSeconds": 30,
    80                  "dnsPolicy": "ClusterFirst",
    81                  "serviceAccountName": "verrazzano-install-my-verrazzano",
    82                  "serviceAccount": "verrazzano-install-my-verrazzano",
    83                  "nodeName": "REDACTED-FOR-TEST",
    84                  "securityContext": {},
    85                  "schedulerName": "default-scheduler",
    86                  "tolerations": [
    87                      {
    88                          "key": "node.kubernetes.io/not-ready",
    89                          "operator": "Exists",
    90                          "effect": "NoExecute",
    91                          "tolerationSeconds": 300
    92                      },
    93                      {
    94                          "key": "node.kubernetes.io/unreachable",
    95                          "operator": "Exists",
    96                          "effect": "NoExecute",
    97                          "tolerationSeconds": 300
    98                      }
    99                  ],
   100                  "priority": 0,
   101                  "enableServiceLinks": true
   102              },
   103              "status": {
   104                  "phase": "Failed",
   105                  "conditions": [
   106                      {
   107                          "type": "Initialized",
   108                          "status": "True",
   109                          "lastProbeTime": null,
   110                          "lastTransitionTime": "2021-02-03T19:28:53Z"
   111                      },
   112                      {
   113                          "type": "Ready",
   114                          "status": "False",
   115                          "lastProbeTime": null,
   116                          "lastTransitionTime": "2021-02-03T19:30:28Z",
   117                          "reason": "ContainersNotReady",
   118                          "message": "containers with unready status: [uninstall]"
   119                      },
   120                      {
   121                          "type": "ContainersReady",
   122                          "status": "False",
   123                          "lastProbeTime": null,
   124                          "lastTransitionTime": "2021-02-03T19:30:28Z",
   125                          "reason": "ContainersNotReady",
   126                          "message": "containers with unready status: [uninstall]"
   127                      },
   128                      {
   129                          "type": "PodScheduled",
   130                          "status": "True",
   131                          "lastProbeTime": null,
   132                          "lastTransitionTime": "2021-02-03T19:28:53Z"
   133                      }
   134                  ],
   135                  "hostIP": "REDACTED-FOR-TEST",
   136                  "podIP": "REDACTED-IP4-ADDRESS",
   137                  "podIPs": [
   138                      {
   139                          "ip": "REDACTED-IP4-ADDRESS"
   140                      }
   141                  ],
   142                  "startTime": "2021-02-03T19:28:53Z",
   143                  "containerStatuses": [
   144                      {
   145                          "name": "uninstall",
   146                          "state": {
   147                              "terminated": {
   148                                  "exitCode": 1,
   149                                  "reason": "Error",
   150                                  "startedAt": "2021-02-03T19:28:55Z",
   151                                  "finishedAt": "2021-02-03T19:30:27Z",
   152                                  "containerID": "REDACTED-FOR-TEST"
   153                              }
   154                          },
   155                          "lastState": {},
   156                          "ready": false,
   157                          "restartCount": 0,
   158                          "image": "REDACTED-FOR-TEST",
   159                          "imageID": "REDACTED-FOR-TEST",
   160                          "containerID": "REDACTED-FOR-TEST",
   161                          "started": false
   162                      }
   163                  ],
   164                  "qosClass": "BestEffort"
   165              }
   166          }
   167      ]
   168  }