{
  "kind": "Pod",
  "apiVersion": "v1",
  "metadata": {
    "name": "insights-operator-5d876b745-t8z24",
    "generateName": "insights-operator-5d876b745-",
    "namespace": "openshift-insights",
    "selfLink": "/api/v1/namespaces/openshift-insights/pods/insights-operator-5d876b745-t8z24",
    "uid": "87e336e8-e11c-44cf-9d41-00a948708a34",
    "resourceVersion": "19990",
    "creationTimestamp": "2020-08-12T08:32:58Z",
    "labels": {
      "app": "insights-operator",
      "pod-template-hash": "5d876b745"
    },
    "annotations": {
      "k8s.v1.cni.cncf.io/networks-status": "[{\n    \"name\": \"openshift-sdn\",\n    \"interface\": \"eth0\",\n    \"ips\": [\n        \"10.130.0.91\"\n    ],\n    \"dns\": {},\n    \"default-route\": [\n        \"10.130.0.1\"\n    ]\n}]",
      "openshift.io/scc": "restricted"
    },
    "ownerReferences": [
      {
        "apiVersion": "apps/v1",
        "kind": "ReplicaSet",
        "name": "insights-operator-5d876b745",
        "uid": "12977583-d462-41e2-b7bc-f955eb82dd09",
        "controller": true,
        "blockOwnerDeletion": true
      }
    ]
  },
  "spec": {
    "volumes": [
      {
        "name": "snapshots",
        "emptyDir": {}
      },
      {
        "name": "trusted-ca-bundle",
        "configMap": {
          "name": "trusted-ca-bundle",
          "defaultMode": 420,
          "optional": true
        }
      },
      {
        "name": "serving-cert",
        "secret": {
          "secretName": "openshift-insights-serving-cert",
          "defaultMode": 420,
          "optional": true
        }
      },
      {
        "name": "operator-token-pvg2b",
        "secret": {
          "secretName": "operator-token-pvg2b",
          "defaultMode": 420
        }
      }
    ],
    "containers": [
      {
        "name": "operator",
        "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:931216b27c556b13ed0d0850a1e32be07c0890fc5b5d7d3de9e12b1d561a669e",
        "args": [
          "start",
          "-v=4",
          "--config=/etc/insights-operator/server.yaml"
        ],
        "ports": [
          {
            "name": "https",
            "containerPort": 8443,
            "protocol": "TCP"
          }
        ],
        "env": [
          {
            "name": "POD_NAME",
            "valueFrom": {
              "fieldRef": {
                "apiVersion": "v1",
                "fieldPath": "metadata.name"
              }
            }
          },
          {
            "name": "POD_NAMESPACE",
            "valueFrom": {
              "fieldRef": {
                "apiVersion": "v1",
                "fieldPath": "metadata.namespace"
              }
            }
          },
          {
            "name": "RELEASE_VERSION",
            "value": "4.4.16"
          }
        ],
        "resources": {
          "requests": {
            "cpu": "10m",
            "memory": "30Mi"
          }
        },
        "volumeMounts": [
          {
            "name": "snapshots",
            "mountPath": "/var/lib/insights-operator"
          },
          {
            "name": "trusted-ca-bundle",
            "readOnly": true,
            "mountPath": "/var/run/configmaps/trusted-ca-bundle"
          },
          {
            "name": "serving-cert",
            "mountPath": "/var/run/secrets/serving-cert"
          },
          {
            "name": "operator-token-pvg2b",
            "readOnly": true,
            "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
          }
        ],
        "terminationMessagePath": "/dev/termination-log",
        "terminationMessagePolicy": "FallbackToLogsOnError",
        "imagePullPolicy": "IfNotPresent",
        "securityContext": {
          "capabilities": {
            "drop": [
              "KILL",
              "MKNOD",
              "SETGID",
              "SETUID"
            ]
          },
          "runAsUser": 1000440000
        }
      }
    ],
    "restartPolicy": "Always",
    "terminationGracePeriodSeconds": 30,
    "dnsPolicy": "ClusterFirst",
    "nodeSelector": {
      "beta.kubernetes.io/os": "linux",
      "node-role.kubernetes.io/master": ""
    },
    "serviceAccountName": "operator",
    "serviceAccount": "operator",
    "nodeName": "ci-ln-d53y532-f76d1-2btqq-master-0",
    "securityContext": {
      "seLinuxOptions": {
        "level": "s0:c21,c10"
      },
      "fsGroup": 1000440000
    },
    "schedulerName": "default-scheduler",
    "tolerations": [
      {
        "key": "node-role.kubernetes.io/master",
        "operator": "Exists",
        "effect": "NoSchedule"
      },
      {
        "key": "node.kubernetes.io/unreachable",
        "operator": "Exists",
        "effect": "NoExecute",
        "tolerationSeconds": 900
      },
      {
        "key": "node.kubernetes.io/not-ready",
        "operator": "Exists",
        "effect": "NoExecute",
        "tolerationSeconds": 900
      },
      {
        "key": "node.kubernetes.io/memory-pressure",
        "operator": "Exists",
        "effect": "NoSchedule"
      }
    ],
    "priorityClassName": "system-cluster-critical",
    "priority": 2000000000,
    "enableServiceLinks": true
  },
  "status": {
    "phase": "Running",
    "conditions": [
      {
        "type": "Initialized",
        "status": "True",
        "lastProbeTime": null,
        "lastTransitionTime": "2020-08-12T08:32:59Z"
      },
      {
        "type": "Ready",
        "status": "True",
        "lastProbeTime": null,
        "lastTransitionTime": "2020-08-12T08:53:26Z"
      },
      {
        "type": "ContainersReady",
        "status": "True",
        "lastProbeTime": null,
        "lastTransitionTime": "2020-08-12T08:53:26Z"
      },
      {
        "type": "PodScheduled",
        "status": "True",
        "lastProbeTime": null,
        "lastTransitionTime": "2020-08-12T08:32:58Z"
      }
    ],
    "hostIP": "10.0.0.5",
    "podIP": "10.130.0.91",
    "podIPs": [
      {
        "ip": "10.130.0.91"
      }
    ],
    "startTime": "2020-08-12T08:32:59Z",
    "containerStatuses": [
      {
        "name": "operator",
        "state": {
          "running": {
            "startedAt": "2020-08-12T08:53:25Z"
          }
        },
        "lastState": {
          "terminated": {
            "exitCode": 255,
            "reason": "Error",
            "message": "o:418] k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go:209: Watch close - *v1.ConfigMap total 0 items received\nI0812 08:52:50.218970       1 reflector.go:418] k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go:209: Watch close - *v1.ConfigMap total 0 items received\nI0812 08:52:50.271439       1 reflector.go:324] k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go:209: watch of *v1.ConfigMap ended with: too old resource version: 14550 (18551)\nI0812 08:52:50.271704       1 reflector.go:324] k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go:209: watch of *v1.ConfigMap ended with: too old resource version: 14550 (18551)\nI0812 08:52:51.272844       1 reflector.go:185] Listing and watching *v1.ConfigMap from k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go:209\nI0812 08:52:51.272880       1 reflector.go:185] Listing and watching *v1.ConfigMap from k8s.io/apiserver/pkg/server/dynamiccertificates/configmap_cafile_content.go:209\nI0812 08:53:24.852614       1 observer_polling.go:116] Observed file \"/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt\" has been modified (old=\"7e9d0dcfbfed4d1036c0e80a1a256d7587d88099caaa9dd79d63c8a64d514c96\", new=\"44c570c64426234ac07fd91c67fb85ac2dcf260b6dca7e8192de202ae46c5ba7\")\nW0812 08:53:24.852671       1 builder.go:101] Restart triggered because of file /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt was modified\nI0812 08:53:24.852751       1 periodic.go:99] Shutting down\nI0812 08:53:24.852838       1 configmap_cafile_content.go:226] Shutting down client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file\nI0812 08:53:24.852866       1 configmap_cafile_content.go:226] Shutting down client-ca::kube-system::extension-apiserver-authentication::client-ca-file\nI0812 08:53:24.852770       1 tlsconfig.go:234] Shutting down DynamicServingCertificateController\nF0812 08:53:24.852783       1 builder.go:210] server exited\n",
            "startedAt": "2020-08-12T08:49:34Z",
            "finishedAt": "2020-08-12T08:53:24Z",
            "containerID": "cri-o://2605e0e3cc618b5ec8e7ba54f920512ae478ceacb474651cc8743cfd4d5d0a42"
          }
        },
        "ready": true,
        "restartCount": 1,
        "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:931216b27c556b13ed0d0850a1e32be07c0890fc5b5d7d3de9e12b1d561a669e",
        "imageID": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:931216b27c556b13ed0d0850a1e32be07c0890fc5b5d7d3de9e12b1d561a669e",
        "containerID": "cri-o://e5607fe8f3f5b0346d4c848f03b3468b2917f8cc982a88fe8c7f8a2bb43eb48f",
        "started": true
      }
    ],
    "qosClass": "Burstable"
  }
}
