apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: dde29ad97c654cc8fad36201a8777fee41188fec43634edd2e1425fbd8d03d69
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-03-02T21:50:41Z"
  generateName: openvswitch-
  labels:
    application: openvswitch
    component: server
    controller-revision-hash: 79984bb86f
    pod-template-generation: "1"
    release_group: openvswitch
  name: openvswitch-52qgc
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: openvswitch
    uid: a1c88f3b-83ca-4e6a-aa94-c1f37ecb191b
  resourceVersion: "13098"
  uid: 60e073f6-4ecc-4f12-a6f9-99492bc01218
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - command:
    - /tmp/openvswitch-db-server.sh
    - start
    env:
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6@sha256:2e8624539c36b50fd317d05f9b167107ccc33120fa34d241b6f835509b139c3b
    imagePullPolicy: IfNotPresent
    lifecycle:
      preStop:
        exec:
          command:
          - /tmp/openvswitch-db-server.sh
          - stop
    livenessProbe:
      exec:
        command:
        - /usr/bin/ovs-vsctl
        - show
      failureThreshold: 3
      initialDelaySeconds: 10
      periodSeconds: 30
      successThreshold: 1
      timeoutSeconds: 5
    name: openvswitch-db
    readinessProbe:
      exec:
        command:
        - /usr/bin/ovs-vsctl
        - list
        - Open_Vswitch
      failureThreshold: 3
      initialDelaySeconds: 10
      periodSeconds: 30
      successThreshold: 1
      timeoutSeconds: 5
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
      runAsUser: 42424
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/openvswitch-db-server.sh
      name: openvswitch-bin
      readOnly: true
      subPath: openvswitch-db-server.sh
    - mountPath: /run
      name: run
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-zw7rv
      readOnly: true
  - args:
    - /tmp/openvswitch-vswitchd.sh
    - start
    command:
    - /tini
    - -s
    - --
    env:
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6@sha256:2e8624539c36b50fd317d05f9b167107ccc33120fa34d241b6f835509b139c3b
    imagePullPolicy: IfNotPresent
    lifecycle:
      postStart:
        exec:
          command:
          - /tmp/openvswitch-vswitchd.sh
          - poststart
      preStop:
        exec:
          command:
          - /tmp/openvswitch-vswitchd.sh
          - stop
    livenessProbe:
      exec:
        command:
        - /usr/bin/ovs-appctl
        - bond/list
      failureThreshold: 3
      initialDelaySeconds: 10
      periodSeconds: 30
      successThreshold: 1
      timeoutSeconds: 5
    name: openvswitch-vswitchd
    readinessProbe:
      exec:
        command:
        - /bin/bash
        - -c
        - /usr/bin/ovs-vsctl show
      failureThreshold: 3
      initialDelaySeconds: 10
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    resources: {}
    securityContext:
      capabilities:
        add:
        - NET_ADMIN
      privileged: true
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/openvswitch-vswitchd.sh
      name: openvswitch-bin
      readOnly: true
      subPath: openvswitch-vswitchd.sh
    - mountPath: /run
      name: run
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-zw7rv
      readOnly: true
  dnsPolicy: ClusterFirstWithHostNet
  enableServiceLinks: true
  hostNetwork: 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
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
    - 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-zw7rv
      readOnly: true
  - command:
    - chown
    - -R
    - "42424"
    - /run/openvswitch
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6@sha256:2e8624539c36b50fd317d05f9b167107ccc33120fa34d241b6f835509b139c3b
    imagePullPolicy: IfNotPresent
    name: openvswitch-db-perms
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /run/openvswitch
      name: run-openvswitch
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-zw7rv
      readOnly: true
  - command:
    - /tmp/openvswitch-vswitchd-init-modules.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6@sha256:2e8624539c36b50fd317d05f9b167107ccc33120fa34d241b6f835509b139c3b
    imagePullPolicy: IfNotPresent
    name: openvswitch-vswitchd-modules
    resources: {}
    securityContext:
      capabilities:
        add:
        - SYS_MODULE
        - SYS_CHROOT
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/openvswitch-vswitchd-init-modules.sh
      name: openvswitch-bin
      readOnly: true
      subPath: openvswitch-vswitchd-init-modules.sh
    - mountPath: /mnt/host-rootfs
      mountPropagation: HostToContainer
      name: host-rootfs
      readOnly: true
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-zw7rv
      readOnly: true
  nodeName: instance
  nodeSelector:
    openvswitch: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: openvswitch-server
  serviceAccountName: openvswitch-server
  shareProcessNamespace: true
  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:
  - emptyDir: {}
    name: pod-tmp
  - configMap:
      defaultMode: 365
      name: openvswitch-bin
    name: openvswitch-bin
  - hostPath:
      path: /run
      type: Directory
    name: run
  - hostPath:
      path: /run/openvswitch
      type: DirectoryOrCreate
    name: run-openvswitch
  - hostPath:
      path: /
      type: Directory
    name: host-rootfs
  - name: kube-api-access-zw7rv
    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-03-02T21:50:46Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-03-02T21:51:02Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-03-02T21:51:02Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-03-02T21:50:41Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://5474c40f7024c3b4144b286618aaf14b0bba0f59bbf6b5105b912a6fb058cdef
    image: sha256:ca032e2eff98e586c2601b605bae2c8ea092e89ee0bd8996bdb4489f5639d2f4
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch@sha256:2e8624539c36b50fd317d05f9b167107ccc33120fa34d241b6f835509b139c3b
    lastState: {}
    name: openvswitch-db
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-03-02T21:50:46Z"
  - containerID: containerd://cd53b1848c4d86a2f40958c7ae36973314461f34488439aac0fc0638987e0fda
    image: sha256:ca032e2eff98e586c2601b605bae2c8ea092e89ee0bd8996bdb4489f5639d2f4
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch@sha256:2e8624539c36b50fd317d05f9b167107ccc33120fa34d241b6f835509b139c3b
    lastState: {}
    name: openvswitch-vswitchd
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-03-02T21:50:46Z"
  hostIP: 199.19.213.90
  initContainerStatuses:
  - containerID: containerd://cdc1387ef1e328356fcd6415358314a790b47cd9f752793ec41a3a32e8ed87e5
    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://cdc1387ef1e328356fcd6415358314a790b47cd9f752793ec41a3a32e8ed87e5
        exitCode: 0
        finishedAt: "2026-03-02T21:50:42Z"
        reason: Completed
        startedAt: "2026-03-02T21:50:42Z"
  - containerID: containerd://c2a2f17d095e27bd03d76128b4c5ec7415b452f003c9da7a3bfe48b037acbbf7
    image: sha256:ca032e2eff98e586c2601b605bae2c8ea092e89ee0bd8996bdb4489f5639d2f4
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch@sha256:2e8624539c36b50fd317d05f9b167107ccc33120fa34d241b6f835509b139c3b
    lastState: {}
    name: openvswitch-db-perms
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://c2a2f17d095e27bd03d76128b4c5ec7415b452f003c9da7a3bfe48b037acbbf7
        exitCode: 0
        finishedAt: "2026-03-02T21:50:44Z"
        reason: Completed
        startedAt: "2026-03-02T21:50:44Z"
  - containerID: containerd://98116a5e5a54550a1872441695cd4391b611cc37053ae7c4c894cbd0d73c6f66
    image: sha256:ca032e2eff98e586c2601b605bae2c8ea092e89ee0bd8996bdb4489f5639d2f4
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch@sha256:2e8624539c36b50fd317d05f9b167107ccc33120fa34d241b6f835509b139c3b
    lastState: {}
    name: openvswitch-vswitchd-modules
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://98116a5e5a54550a1872441695cd4391b611cc37053ae7c4c894cbd0d73c6f66
        exitCode: 0
        finishedAt: "2026-03-02T21:50:45Z"
        reason: Completed
        startedAt: "2026-03-02T21:50:45Z"
  phase: Running
  podIP: 199.19.213.90
  podIPs:
  - ip: 199.19.213.90
  qosClass: BestEffort
  startTime: "2026-03-02T21:50:41Z"
