apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 8fa5a078892b220e202c7a44d607e233aa3a01389e55fd7efb7383833c34418d
    configmap-etc-hash: b051aca2497cbb640fe07dd769ad4b4a185c1172670745cd800ed7f87dc2a07d
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-02T17:14:52Z"
  generateName: ovn-controller-
  labels:
    application: ovn
    component: ovn-controller
    controller-revision-hash: 64df545c8c
    pod-template-generation: "1"
    release_group: ovn
  name: ovn-controller-czwj2
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: ovn-controller
    uid: 5035770e-fc20-4f0b-9bb9-3a11f14f97d5
  resourceVersion: "16377"
  uid: 74d0b8c2-d2cc-4918-aee4-b64eb5e611fa
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - command:
    - /root/ovnkube.sh
    - ovn-controller
    env:
    - name: OVN_DAEMONSET_VERSION
      value: "3"
    - name: OVN_LOGLEVEL_CONTROLLER
      value: -vconsole:info -vfile:info
    - name: OVN_KUBERNETES_NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: OVN_KUBERNETES_NB_STATEFULSET
      value: ovn-ovsdb-nb
    - name: OVN_KUBERNETES_SB_STATEFULSET
      value: ovn-ovsdb-sb
    - name: OVN_SSL_ENABLE
      value: "no"
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn:v24.03.7-3@sha256:deb1966eff94d8da072a3647db63546722094deb3ef34b6b464609bcba61887a
    imagePullPolicy: IfNotPresent
    name: controller
    readinessProbe:
      exec:
        command:
        - /usr/bin/ovn-kube-util
        - readiness-probe
        - -t
        - ovn-controller
      failureThreshold: 3
      initialDelaySeconds: 30
      periodSeconds: 60
      successThreshold: 1
      timeoutSeconds: 30
    resources: {}
    securityContext:
      privileged: true
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /run/openvswitch
      name: run-openvswitch
    - mountPath: /var/log/ovn
      name: logs
    - mountPath: /run/ovn
      name: run-openvswitch
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-lbvbs
      readOnly: true
  - command:
    - vector
    - --config
    - /etc/vector/vector.toml
    image: harbor.atmosphere.dev/docker.io/timberio/vector:0.38.0-debian
    imagePullPolicy: IfNotPresent
    name: vector
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/vector
      name: vector-config
    - mountPath: /logs
      name: logs
    - mountPath: /var/lib/vector
      name: vector-data
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-lbvbs
      readOnly: true
  - command:
    - /tmp/ovn-network-logging-parser.sh
    - start
    env:
    - name: VECTOR_HTTP_ENDPOINT
      value: http://localhost:5001
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:2024.1@sha256:026ceb9de684460ab007e557414e912e171e95d575f8220beb691ae097a679de
    imagePullPolicy: IfNotPresent
    name: log-parser
    ports:
    - containerPort: 9697
      hostPort: 9697
      name: http
      protocol: TCP
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/neutron/neutron.conf
      name: neutron-etc
      readOnly: true
      subPath: neutron.conf
    - mountPath: /tmp/ovn-network-logging-parser.sh
      name: ovn-bin
      readOnly: true
      subPath: ovn-network-logging-parser.sh
    - mountPath: /etc/neutron/neutron-ovn-network-logging-parser-uwsgi.ini
      name: ovn-etc
      readOnly: true
      subPath: neutron-ovn-network-logging-parser-uwsgi.ini
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-lbvbs
      readOnly: true
  dnsPolicy: ClusterFirstWithHostNet
  enableServiceLinks: true
  hostIPC: true
  hostNetwork: true
  hostPID: true
  initContainers:
  - command:
    - kubernetes-entrypoint
    env:
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: INTERFACE_NAME
      value: eth0
    - name: PATH
      value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
    - name: DEPENDENCY_SERVICE
      value: openstack:ovn-ovsdb-sb
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
      value: '[{"labels":{"application":"openvswitch","component":"server"},"requireSameNode":true}]'
    - name: DEPENDENCY_CUSTOM_RESOURCE
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    imagePullPolicy: IfNotPresent
    name: init
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
      runAsUser: 65534
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-lbvbs
      readOnly: true
  - command:
    - /bin/bash
    - -c
    - |
      kubectl get node ${NODENAME} -o jsonpath='{.metadata.labels.openstack-control-plane}' > /tmp/gw-enabled/gw-enabled
    env:
    - name: NODENAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn:v24.03.7-3@sha256:deb1966eff94d8da072a3647db63546722094deb3ef34b6b464609bcba61887a
    imagePullPolicy: IfNotPresent
    name: get-gw-enabled
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp/gw-enabled
      name: gw-enabled
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-lbvbs
      readOnly: true
  - command:
    - /tmp/ovn-controller-init.sh
    env:
    - name: NODE_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn:v24.03.7-3@sha256:deb1966eff94d8da072a3647db63546722094deb3ef34b6b464609bcba61887a
    imagePullPolicy: IfNotPresent
    name: controller-init
    resources: {}
    securityContext:
      privileged: true
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp/ovn-controller-init.sh
      name: ovn-bin
      readOnly: true
      subPath: ovn-controller-init.sh
    - mountPath: /run/openvswitch
      name: run-openvswitch
    - mountPath: /tmp/auto_bridge_add
      name: ovn-etc
      readOnly: true
      subPath: auto_bridge_add
    - mountPath: /tmp/gw-enabled
      name: gw-enabled
      readOnly: true
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-lbvbs
      readOnly: true
  nodeName: instance
  nodeSelector:
    openvswitch: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: ovn-controller
  serviceAccountName: ovn-controller
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
  - effect: NoSchedule
    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
  volumes:
  - configMap:
      defaultMode: 511
      name: ovn-bin
    name: ovn-bin
  - hostPath:
      path: /run/openvswitch
      type: DirectoryOrCreate
    name: run-openvswitch
  - name: ovn-etc
    secret:
      defaultMode: 292
      secretName: ovn-etc
  - hostPath:
      path: /var/log/ovn
      type: DirectoryOrCreate
    name: logs
  - hostPath:
      path: /run/ovn
      type: DirectoryOrCreate
    name: run-ovn
  - emptyDir: {}
    name: gw-enabled
  - name: vector-config
    secret:
      defaultMode: 420
      secretName: ovn-vector-config
  - emptyDir: {}
    name: vector-data
  - name: neutron-etc
    secret:
      defaultMode: 292
      secretName: neutron-etc
  - name: kube-api-access-lbvbs
    projected:
      defaultMode: 420
      sources:
      - serviceAccountToken:
          expirationSeconds: 3607
          path: token
      - configMap:
          items:
          - key: ca.crt
            path: ca.crt
          name: kube-root-ca.crt
      - downwardAPI:
          items:
          - fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
            path: namespace
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2026-04-02T17:19:07Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-02T17:20:03Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-02T17:20:03Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-02T17:14:52Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://914ffd0d0ce7bcfb447404510b4a3ee02ef87079b5b3b9db11f3f12dfbcb1b71
    image: sha256:f183e9d034a520ebdfadc9ee3e250ce9012a8aa7baf1d41322996382ff01e8f5
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn@sha256:deb1966eff94d8da072a3647db63546722094deb3ef34b6b464609bcba61887a
    lastState: {}
    name: controller
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-02T17:19:08Z"
  - containerID: containerd://01bca034d88bf2e73672248b4a68813a03def97138eacb225a1590ffd4c5f05f
    image: sha256:310a2b7063b00d82fee1c2f9dd8c89d3e4a4d3e2082fe1b9e4eb1a7413d04102
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:026ceb9de684460ab007e557414e912e171e95d575f8220beb691ae097a679de
    lastState: {}
    name: log-parser
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-02T17:19:09Z"
  - containerID: containerd://1c7ffc9267e5564cab4cfae35f69e6aa636faa34b0a428210d3f6dc15db07e50
    image: harbor.atmosphere.dev/docker.io/timberio/vector:0.38.0-debian
    imageID: harbor.atmosphere.dev/docker.io/timberio/vector@sha256:7605ccc5a57b6d37650037c7c6495a6331ecd18b5ec326842e76f9d70d445e0b
    lastState: {}
    name: vector
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-02T17:19:08Z"
  hostIP: 199.204.45.53
  initContainerStatuses:
  - containerID: containerd://4472b6b6cf2aa842bdaa1c0b7d931da81726b7fdd6c1b11943c688d8a2a4de3a
    image: sha256:d656bd5737950b86b0ecff4b0206024769c78ea55e2f9f4c840c3cc2a10caaf8
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://4472b6b6cf2aa842bdaa1c0b7d931da81726b7fdd6c1b11943c688d8a2a4de3a
        exitCode: 0
        finishedAt: "2026-04-02T17:19:05Z"
        reason: Completed
        startedAt: "2026-04-02T17:19:03Z"
  - containerID: containerd://c6bbcbad11f8805cdcfc6aca8aa0acb2d41291eb55bc9f1f1a3f0d94b9523149
    image: sha256:f183e9d034a520ebdfadc9ee3e250ce9012a8aa7baf1d41322996382ff01e8f5
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn@sha256:deb1966eff94d8da072a3647db63546722094deb3ef34b6b464609bcba61887a
    lastState: {}
    name: get-gw-enabled
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://c6bbcbad11f8805cdcfc6aca8aa0acb2d41291eb55bc9f1f1a3f0d94b9523149
        exitCode: 0
        finishedAt: "2026-04-02T17:19:06Z"
        reason: Completed
        startedAt: "2026-04-02T17:19:06Z"
  - containerID: containerd://1ae0fb92f1feb0d47d5acf2d50da8884376037b0c239d4606d9a030026f6d1d1
    image: sha256:f183e9d034a520ebdfadc9ee3e250ce9012a8aa7baf1d41322996382ff01e8f5
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn@sha256:deb1966eff94d8da072a3647db63546722094deb3ef34b6b464609bcba61887a
    lastState: {}
    name: controller-init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://1ae0fb92f1feb0d47d5acf2d50da8884376037b0c239d4606d9a030026f6d1d1
        exitCode: 0
        finishedAt: "2026-04-02T17:19:07Z"
        reason: Completed
        startedAt: "2026-04-02T17:19:07Z"
  phase: Running
  podIP: 199.204.45.53
  podIPs:
  - ip: 199.204.45.53
  qosClass: BestEffort
  startTime: "2026-04-02T17:14:52Z"
