apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: dde29ad97c654cc8fad36201a8777fee41188fec43634edd2e1425fbd8d03d69
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-27T16:32:55Z"
  generateName: openvswitch-
  labels:
    application: openvswitch
    component: server
    controller-revision-hash: 79984bb86f
    pod-template-generation: "1"
    release_group: openvswitch
  name: openvswitch-d6jrm
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: openvswitch
    uid: 70b5073d-4ca4-4599-8b87-268ac010b867
  resourceVersion: "13895"
  uid: a53bf4ff-7671-4c9c-b770-2c6a05c44f60
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-7bc5k
      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-7bc5k
      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-7bc5k
      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-7bc5k
      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-7bc5k
      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-7bc5k
    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-27T16:33:00Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-27T16:33:16Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-27T16:33:16Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-27T16:32:55Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://cadacb24eca78b30ef9953349e2b571c463168b2fa8f6399be19f80b151443ce
    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-04-27T16:33:00Z"
  - containerID: containerd://8bf439c10b7a02a22e4072634d5d0bff6670071e084a7e7d9468f9de74efd7a6
    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-04-27T16:33:00Z"
  hostIP: 199.204.45.4
  initContainerStatuses:
  - containerID: containerd://c6253983ff563bd81b6f4074a4c076bbcefc5be0d51b7ebe9d33983c501d8aae
    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://c6253983ff563bd81b6f4074a4c076bbcefc5be0d51b7ebe9d33983c501d8aae
        exitCode: 0
        finishedAt: "2026-04-27T16:32:56Z"
        reason: Completed
        startedAt: "2026-04-27T16:32:56Z"
  - containerID: containerd://1f859ffe9ea5ca19ce541bb6912321e8b8ade83aa7ce3cc8ca66c4ec0741aef5
    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://1f859ffe9ea5ca19ce541bb6912321e8b8ade83aa7ce3cc8ca66c4ec0741aef5
        exitCode: 0
        finishedAt: "2026-04-27T16:32:58Z"
        reason: Completed
        startedAt: "2026-04-27T16:32:58Z"
  - containerID: containerd://a28d02b3f641a539a8b7bc0a01c54b15fab968a8d179d64b753fe9bf07a54cb7
    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://a28d02b3f641a539a8b7bc0a01c54b15fab968a8d179d64b753fe9bf07a54cb7
        exitCode: 0
        finishedAt: "2026-04-27T16:32:59Z"
        reason: Completed
        startedAt: "2026-04-27T16:32:59Z"
  phase: Running
  podIP: 199.204.45.4
  podIPs:
  - ip: 199.204.45.4
  qosClass: BestEffort
  startTime: "2026-04-27T16:32:55Z"
