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

     1  {
     2      "kind": "PodList",
     3      "apiVersion": "v1",
     4      "metadata": {
     5          "selfLink": "/api/v1/namespaces/verrazzano-system/pods",
     6          "resourceVersion": "13706"
     7      },
     8      "items": [
     9           {
    10              "metadata": {
    11                  "name": "vmi-system-prometheus-0-7544644cdb-8pjwd",
    12                  "generateName": "vmi-system-prometheus-0-7544644cdb-",
    13                  "namespace": "verrazzano-system",
    14                  "selfLink": "/api/v1/namespaces/verrazzano-system/pods/vmi-system-prometheus-0-7544644cdb-8pjwd",
    15                  "uid": "3e9014ab-99d0-46d8-b80e-0bba46f7c6fc",
    16                  "resourceVersion": "13685",
    17                  "creationTimestamp": "2021-01-29T18:36:01Z",
    18                  "labels": {
    19                      "app": "system-prometheus",
    20                      "pod-template-hash": "7544644cdb"
    21                  },
    22                  "ownerReferences": [
    23                      {
    24                          "apiVersion": "apps/v1",
    25                          "kind": "ReplicaSet",
    26                          "name": "vmi-system-prometheus-0-7544644cdb",
    27                          "uid": "08cf77be-8fef-431a-bef2-11cb503812ef",
    28                          "controller": true,
    29                          "blockOwnerDeletion": true
    30                      }
    31                  ]
    32              },
    33              "spec": {
    34                  "volumes": [
    35                      {
    36                          "name": "rules-volume",
    37                          "configMap": {
    38                              "name": "vmi-system-alertrules",
    39                              "defaultMode": 420
    40                          }
    41                      },
    42                      {
    43                          "name": "config-volume",
    44                          "configMap": {
    45                              "name": "vmi-system-prometheus-config",
    46                              "defaultMode": 420
    47                          }
    48                      },
    49                      {
    50                          "name": "storage-volume",
    51                          "emptyDir": {}
    52                      },
    53                      {
    54                          "name": "verrazzano-monitoring-operator-token-s7qcq",
    55                          "secret": {
    56                              "secretName": "verrazzano-monitoring-operator-token-s7qcq",
    57                              "defaultMode": 420
    58                          }
    59                      }
    60                  ],
    61                  "initContainers": [
    62                      {
    63                          "name": "prometheus-init",
    64                          "image": "ghcr.io/oracle/oraclelinux:7-slim",
    65                          "command": [
    66                              "sh",
    67                              "-c",
    68                              "chown -R 65534:65534 /prometheus"
    69                          ],
    70                          "resources": {},
    71                          "volumeMounts": [
    72                              {
    73                                  "name": "storage-volume",
    74                                  "mountPath": "/prometheus"
    75                              },
    76                              {
    77                                  "name": "verrazzano-monitoring-operator-token-s7qcq",
    78                                  "readOnly": true,
    79                                  "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
    80                              }
    81                          ],
    82                          "terminationMessagePath": "/dev/termination-log",
    83                          "terminationMessagePolicy": "File",
    84                          "imagePullPolicy": "IfNotPresent"
    85                      }
    86                  ],
    87                  "containers": [
    88                      {
    89                          "name": "prometheus",
    90                          "image": "ghcr.io/verrazzano/prometheus:v2.13.1",
    91                          "command": [
    92                              "/bin/prometheus"
    93                          ],
    94                          "args": [
    95                              "--config.file=/etc/prometheus/config/prometheus.yml",
    96                              "--storage.tsdb.path=/prometheus",
    97                              "--storage.tsdb.retention.time=90d",
    98                              "--web.enable-lifecycle",
    99                              "--web.enable-admin-api",
   100                              "--storage.tsdb.no-lockfile"
   101                          ],
   102                          "ports": [
   103                              {
   104                                  "name": "prometheus",
   105                                  "containerPort": 9090,
   106                                  "protocol": "TCP"
   107                              }
   108                          ],
   109                          "env": [
   110                              {
   111                                  "name": "AVAILABILITY_DOMAIN"
   112                              }
   113                          ],
   114                          "resources": {
   115                              "requests": {
   116                                  "memory": "128Mi"
   117                              }
   118                          },
   119                          "volumeMounts": [
   120                              {
   121                                  "name": "rules-volume",
   122                                  "mountPath": "/etc/prometheus/rules"
   123                              },
   124                              {
   125                                  "name": "config-volume",
   126                                  "mountPath": "/etc/prometheus/config"
   127                              },
   128                              {
   129                                  "name": "storage-volume",
   130                                  "mountPath": "/prometheus"
   131                              },
   132                              {
   133                                  "name": "verrazzano-monitoring-operator-token-s7qcq",
   134                                  "readOnly": true,
   135                                  "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
   136                              }
   137                          ],
   138                          "livenessProbe": {
   139                              "httpGet": {
   140                                  "path": "/-/healthy",
   141                                  "port": 9090,
   142                                  "scheme": "HTTP"
   143                              },
   144                              "initialDelaySeconds": 30,
   145                              "timeoutSeconds": 3,
   146                              "periodSeconds": 10,
   147                              "successThreshold": 1,
   148                              "failureThreshold": 10
   149                          },
   150                          "readinessProbe": {
   151                              "httpGet": {
   152                                  "path": "/-/ready",
   153                                  "port": 9090,
   154                                  "scheme": "HTTP"
   155                              },
   156                              "initialDelaySeconds": 5,
   157                              "timeoutSeconds": 3,
   158                              "periodSeconds": 10,
   159                              "successThreshold": 1,
   160                              "failureThreshold": 5
   161                          },
   162                          "terminationMessagePath": "/dev/termination-log",
   163                          "terminationMessagePolicy": "File",
   164                          "imagePullPolicy": "IfNotPresent",
   165                          "securityContext": {
   166                              "privileged": false,
   167                              "runAsUser": 65534
   168                          }
   169                      },
   170                      {
   171                          "name": "config-reloader",
   172                          "image": "ghcr.io/verrazzano/configmap-reload:0.3-20201016205243-4f24a0e",
   173                          "args": [
   174                              "-volume-dir=/etc/prometheus/config",
   175                              "-volume-dir=/etc/prometheus/rules",
   176                              "-webhook-url=http://localhost:9090/-/reload"
   177                          ],
   178                          "resources": {},
   179                          "volumeMounts": [
   180                              {
   181                                  "name": "rules-volume",
   182                                  "mountPath": "/etc/prometheus/rules"
   183                              },
   184                              {
   185                                  "name": "config-volume",
   186                                  "mountPath": "/etc/prometheus/config"
   187                              },
   188                              {
   189                                  "name": "verrazzano-monitoring-operator-token-s7qcq",
   190                                  "readOnly": true,
   191                                  "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
   192                              }
   193                          ],
   194                          "terminationMessagePath": "/dev/termination-log",
   195                          "terminationMessagePolicy": "File",
   196                          "imagePullPolicy": "IfNotPresent"
   197                      },
   198                      {
   199                          "name": "node-exporter",
   200                          "image": "ghcr.io/verrazzano/node-exporter:0.18.1-20201016212926-e3dc9ad",
   201                          "resources": {},
   202                          "volumeMounts": [
   203                              {
   204                                  "name": "verrazzano-monitoring-operator-token-s7qcq",
   205                                  "readOnly": true,
   206                                  "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
   207                              }
   208                          ],
   209                          "terminationMessagePath": "/dev/termination-log",
   210                          "terminationMessagePolicy": "File",
   211                          "imagePullPolicy": "IfNotPresent"
   212                      }
   213                  ],
   214                  "restartPolicy": "Always",
   215                  "terminationGracePeriodSeconds": 1,
   216                  "dnsPolicy": "ClusterFirst",
   217                  "serviceAccountName": "verrazzano-monitoring-operator",
   218                  "serviceAccount": "verrazzano-monitoring-operator",
   219                  "nodeName": "verrazzano-control-plane",
   220                  "securityContext": {},
   221                  "imagePullSecrets": [
   222                      {
   223                          "name": "verrazzano-container-registry"
   224                      }
   225                  ],
   226                  "schedulerName": "default-scheduler",
   227                  "tolerations": [
   228                      {
   229                          "key": "node.kubernetes.io/not-ready",
   230                          "operator": "Exists",
   231                          "effect": "NoExecute",
   232                          "tolerationSeconds": 300
   233                      },
   234                      {
   235                          "key": "node.kubernetes.io/unreachable",
   236                          "operator": "Exists",
   237                          "effect": "NoExecute",
   238                          "tolerationSeconds": 300
   239                      }
   240                  ],
   241                  "priority": 0,
   242                  "enableServiceLinks": true
   243              },
   244              "status": {
   245                  "phase": "Pending",
   246                  "conditions": [
   247                      {
   248                          "type": "Initialized",
   249                          "status": "True",
   250                          "lastProbeTime": null,
   251                          "lastTransitionTime": "2021-01-29T18:36:03Z"
   252                      },
   253                      {
   254                          "type": "Ready",
   255                          "status": "False",
   256                          "lastProbeTime": null,
   257                          "lastTransitionTime": "2021-01-29T18:36:02Z",
   258                          "reason": "ContainersNotReady",
   259                          "message": "containers with unready status: [prometheus config-reloader node-exporter]"
   260                      },
   261                      {
   262                          "type": "ContainersReady",
   263                          "status": "False",
   264                          "lastProbeTime": null,
   265                          "lastTransitionTime": "2021-01-29T18:36:02Z",
   266                          "reason": "ContainersNotReady",
   267                          "message": "containers with unready status: [prometheus config-reloader node-exporter]"
   268                      },
   269                      {
   270                          "type": "PodScheduled",
   271                          "status": "True",
   272                          "lastProbeTime": null,
   273                          "lastTransitionTime": "2021-01-29T18:36:02Z"
   274                      }
   275                  ],
   276                  "hostIP": "REDACTED-IP4-ADDRESS",
   277                  "podIP": "REDACTED-IP4-ADDRESS",
   278                  "podIPs": [
   279                      {
   280                          "ip": "REDACTED-IP4-ADDRESS"
   281                      }
   282                  ],
   283                  "startTime": "2021-01-29T18:36:02Z",
   284                  "initContainerStatuses": [
   285                      {
   286                          "name": "prometheus-init",
   287                          "state": {
   288                              "terminated": {
   289                                  "exitCode": 0,
   290                                  "reason": "Completed",
   291                                  "startedAt": "2021-01-29T18:36:02Z",
   292                                  "finishedAt": "2021-01-29T18:36:02Z",
   293                                  "containerID": "containerd://7cd61e39b2e0bce4eeaf9288c3f38eea72f10b08d524a40f35091075983b343a"
   294                              }
   295                          },
   296                          "lastState": {},
   297                          "ready": true,
   298                          "restartCount": 0,
   299                          "image": "ghcr.io/oracle/oraclelinux:7-slim",
   300                          "imageID": "ghcr.io/oracle/oraclelinux@sha256:4d9168e6703a121761f2fce07958ee1c6ca52bc666a85803a1713fc5b674ef61",
   301                          "containerID": "containerd://7cd61e39b2e0bce4eeaf9288c3f38eea72f10b08d524a40f35091075983b343a"
   302                      }
   303                  ],
   304                  "containerStatuses": [
   305                      {
   306                          "name": "config-reloader",
   307                          "state": {
   308                              "waiting": {
   309                                  "reason": "PodInitializing"
   310                              }
   311                          },
   312                          "lastState": {},
   313                          "ready": false,
   314                          "restartCount": 0,
   315                          "image": "ghcr.io/verrazzano/configmap-reload:0.3-20201016205243-4f24a0e",
   316                          "imageID": "",
   317                          "started": false
   318                      },
   319                      {
   320                          "name": "node-exporter",
   321                          "state": {
   322                              "waiting": {
   323                                  "reason": "PodInitializing"
   324                              }
   325                          },
   326                          "lastState": {},
   327                          "ready": false,
   328                          "restartCount": 0,
   329                          "image": "ghcr.io/verrazzano/node-exporter:0.18.1-20201016212926-e3dc9ad",
   330                          "imageID": "",
   331                          "started": false
   332                      },
   333                      {
   334                          "name": "prometheus",
   335                          "state": {
   336                              "waiting": {
   337                                  "reason": "PodInitializing"
   338                              }
   339                          },
   340                          "lastState": {},
   341                          "ready": false,
   342                          "restartCount": 0,
   343                          "image": "ghcr.io/verrazzano/prometheus:v2.13.1",
   344                          "imageID": "",
   345                          "started": false
   346                      }
   347                  ],
   348                  "qosClass": "Burstable"
   349              }
   350          }
   351      ]
   352  }