{
  "kind": "Pod",
  "apiVersion": "v1",
  "metadata": {
    "name": "sdn-controller-xcnqb",
    "generateName": "sdn-controller-",
    "namespace": "openshift-sdn",
    "selfLink": "/api/v1/namespaces/openshift-sdn/pods/sdn-controller-xcnqb",
    "uid": "0b011609-6988-4680-8ff5-cca50c49255c",
    "resourceVersion": "7837",
    "creationTimestamp": "2020-08-12T08:28:52Z",
    "labels": {
      "app": "sdn-controller",
      "controller-revision-hash": "cdd6b6bdc",
      "pod-template-generation": "1"
    },
    "ownerReferences": [
      {
        "apiVersion": "apps/v1",
        "kind": "DaemonSet",
        "name": "sdn-controller",
        "uid": "4232b39c-eb4c-46b8-8c17-bff513e314ab",
        "controller": true,
        "blockOwnerDeletion": true
      }
    ]
  },
  "spec": {
    "volumes": [
      {
        "name": "sdn-controller-token-wks8l",
        "secret": {
          "secretName": "sdn-controller-token-wks8l",
          "defaultMode": 420
        }
      }
    ],
    "containers": [
      {
        "name": "sdn-controller",
        "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0f94593371bc5c0e95b890c684ce9868bdf9975fe4764d07fee62762e3f6a081",
        "command": [
          "openshift-sdn-controller"
        ],
        "env": [
          {
            "name": "KUBERNETES_SERVICE_PORT",
            "value": "6443"
          },
          {
            "name": "KUBERNETES_SERVICE_HOST",
            "value": "api-int.ci-ln-d53y532-f76d1.origin-ci-int-gce.dev.openshift.com"
          }
        ],
        "resources": {
          "requests": {
            "cpu": "10m",
            "memory": "50Mi"
          }
        },
        "volumeMounts": [
          {
            "name": "sdn-controller-token-wks8l",
            "readOnly": true,
            "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
          }
        ],
        "terminationMessagePath": "/dev/termination-log",
        "terminationMessagePolicy": "FallbackToLogsOnError",
        "imagePullPolicy": "IfNotPresent"
      }
    ],
    "restartPolicy": "Always",
    "terminationGracePeriodSeconds": 30,
    "dnsPolicy": "ClusterFirst",
    "nodeSelector": {
      "node-role.kubernetes.io/master": ""
    },
    "serviceAccountName": "sdn-controller",
    "serviceAccount": "sdn-controller",
    "nodeName": "ci-ln-d53y532-f76d1-2btqq-master-1",
    "hostNetwork": true,
    "securityContext": {
      "runAsUser": 65534,
      "runAsNonRoot": true
    },
    "affinity": {
      "nodeAffinity": {
        "requiredDuringSchedulingIgnoredDuringExecution": {
          "nodeSelectorTerms": [
            {
              "matchFields": [
                {
                  "key": "metadata.name",
                  "operator": "In",
                  "values": [
                    "ci-ln-d53y532-f76d1-2btqq-master-1"
                  ]
                }
              ]
            }
          ]
        }
      }
    },
    "schedulerName": "default-scheduler",
    "tolerations": [
      {
        "key": "node-role.kubernetes.io/master",
        "operator": "Exists",
        "effect": "NoSchedule"
      },
      {
        "key": "node.kubernetes.io/not-ready",
        "operator": "Exists",
        "effect": "NoSchedule"
      },
      {
        "key": "node.kubernetes.io/not-ready",
        "operator": "Exists",
        "effect": "NoExecute"
      },
      {
        "key": "node.kubernetes.io/unreachable",
        "operator": "Exists",
        "effect": "NoExecute"
      },
      {
        "key": "node.kubernetes.io/disk-pressure",
        "operator": "Exists",
        "effect": "NoSchedule"
      },
      {
        "key": "node.kubernetes.io/memory-pressure",
        "operator": "Exists",
        "effect": "NoSchedule"
      },
      {
        "key": "node.kubernetes.io/pid-pressure",
        "operator": "Exists",
        "effect": "NoSchedule"
      },
      {
        "key": "node.kubernetes.io/unschedulable",
        "operator": "Exists",
        "effect": "NoSchedule"
      },
      {
        "key": "node.kubernetes.io/network-unavailable",
        "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:28:52Z"
      },
      {
        "type": "Ready",
        "status": "True",
        "lastProbeTime": null,
        "lastTransitionTime": "2020-08-12T08:33:16Z"
      },
      {
        "type": "ContainersReady",
        "status": "True",
        "lastProbeTime": null,
        "lastTransitionTime": "2020-08-12T08:33:16Z"
      },
      {
        "type": "PodScheduled",
        "status": "True",
        "lastProbeTime": null,
        "lastTransitionTime": "2020-08-12T08:28:52Z"
      }
    ],
    "hostIP": "10.0.0.6",
    "podIP": "10.0.0.6",
    "podIPs": [
      {
        "ip": "10.0.0.6"
      }
    ],
    "startTime": "2020-08-12T08:28:52Z",
    "containerStatuses": [
      {
        "name": "sdn-controller",
        "state": {
          "running": {
            "startedAt": "2020-08-12T08:33:15Z"
          }
        },
        "lastState": {
          "terminated": {
            "exitCode": 255,
            "reason": "Error",
            "message": "for namespace \"openshift-apiserver\"\nI0812 08:29:50.633232       1 vnids.go:115] Allocated netid 11495546 for namespace \"openshift-dns\"\nE0812 08:31:09.550078       1 leaderelection.go:331] error retrieving resource lock openshift-sdn/openshift-network-controller: etcdserver: request timed out\nI0812 08:32:14.965696       1 vnids.go:115] Allocated netid 5772809 for namespace \"openshift\"\nI0812 08:32:15.030965       1 vnids.go:115] Allocated netid 13546342 for namespace \"openshift-node\"\nE0812 08:33:14.628624       1 event.go:319] Could not construct reference to: '&v1.ConfigMap{TypeMeta:v1.TypeMeta{Kind:\"\", APIVersion:\"\"}, ObjectMeta:v1.ObjectMeta{Name:\"openshift-network-controller\", GenerateName:\"\", Namespace:\"openshift-sdn\", SelfLink:\"/api/v1/namespaces/openshift-sdn/configmaps/openshift-network-controller\", UID:\"da2db901-ba0b-4adc-a003-37754c4cc2a9\", ResourceVersion:\"7136\", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63732817741, loc:(*time.Location)(0x27f9700)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{\"control-plane.alpha.kubernetes.io/leader\":\"{\\\"holderIdentity\\\":\\\"ci-ln-d53y532-f76d1-2btqq-master-1\\\",\\\"leaseDurationSeconds\\\":60,\\\"acquireTime\\\":\\\"2020-08-12T08:29:01Z\\\",\\\"renewTime\\\":\\\"2020-08-12T08:32:29Z\\\",\\\"leaderTransitions\\\":0}\"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:\"\", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Data:map[string]string(nil), BinaryData:map[string][]uint8(nil)}' due to: 'no kind is registered for the type v1.ConfigMap in scheme \"k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30\"'. Will not report event: 'Normal' 'LeaderElection' 'ci-ln-d53y532-f76d1-2btqq-master-1 stopped leading'\nI0812 08:33:14.628768       1 leaderelection.go:288] failed to renew lease openshift-sdn/openshift-network-controller: failed to tryAcquireOrRenew context deadline exceeded\nF0812 08:33:14.628789       1 network_controller.go:97] leaderelection lost\n",
            "startedAt": "2020-08-12T08:29:01Z",
            "finishedAt": "2020-08-12T08:33:14Z",
            "containerID": "cri-o://3c89482508774d740f32b3f41abda0ddeb1eb03a27c199f635973db58a57986d"
          }
        },
        "ready": true,
        "restartCount": 1,
        "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0f94593371bc5c0e95b890c684ce9868bdf9975fe4764d07fee62762e3f6a081",
        "imageID": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:0f94593371bc5c0e95b890c684ce9868bdf9975fe4764d07fee62762e3f6a081",
        "containerID": "cri-o://cfa11b23ed47bce4d6bd0a3567af1549de4f84b021d7ff6f4708cac2d528a0d6",
        "started": true
      }
    ],
    "qosClass": "Burstable"
  }
}
