apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: dde29ad97c654cc8fad36201a8777fee41188fec43634edd2e1425fbd8d03d69
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-17T04:37:10Z"
  generateName: openvswitch-
  labels:
    application: openvswitch
    component: server
    controller-revision-hash: 6c69c6467
    pod-template-generation: "1"
    release_group: openvswitch
  name: openvswitch-zwmp8
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: openvswitch
    uid: 37a67c6a-754b-4198-a65e-17b34e0062a5
  resourceVersion: "3497"
  uid: 77cc5055-0f68-4843-82ed-ff75503f25b6
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
    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-vjwbd
      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
    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-vjwbd
      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
    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-vjwbd
      readOnly: true
  - command:
    - chown
    - -R
    - "42424"
    - /run/openvswitch
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6
    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-vjwbd
      readOnly: true
  - command:
    - /tmp/openvswitch-vswitchd-init-modules.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6
    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-vjwbd
      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-vjwbd
    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-17T04:37:16Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-17T04:37:31Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-17T04:37:31Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-17T04:37:10Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://f6335f96495df76056f583c6b4895845b49b26bc0970176fb486d858537cf50a
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6
    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-17T04:37:16Z"
  - containerID: containerd://e64ccaa7d2b22efe895c15b0357d3e164812336be92f67ec2a0c35193a6add4b
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6
    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-17T04:37:16Z"
  hostIP: 199.204.45.113
  initContainerStatuses:
  - containerID: containerd://17f770bb6116ad6ffc8f911877c6bbc6e06d14899a6d66c200697931c0c32dc6
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://17f770bb6116ad6ffc8f911877c6bbc6e06d14899a6d66c200697931c0c32dc6
        exitCode: 0
        finishedAt: "2026-04-17T04:37:12Z"
        reason: Completed
        startedAt: "2026-04-17T04:37:12Z"
  - containerID: containerd://92665f416524489c8d3d572ac9f6105b3177af802324f79bd2dee87f193eb019
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6
    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://92665f416524489c8d3d572ac9f6105b3177af802324f79bd2dee87f193eb019
        exitCode: 0
        finishedAt: "2026-04-17T04:37:14Z"
        reason: Completed
        startedAt: "2026-04-17T04:37:14Z"
  - containerID: containerd://ed68142bf124d8061c372684fa4a14897136383f185685de6e9bbbf820cf44e8
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/openvswitch:v3.3.6-6
    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://ed68142bf124d8061c372684fa4a14897136383f185685de6e9bbbf820cf44e8
        exitCode: 0
        finishedAt: "2026-04-17T04:37:15Z"
        reason: Completed
        startedAt: "2026-04-17T04:37:15Z"
  phase: Running
  podIP: 199.204.45.113
  podIPs:
  - ip: 199.204.45.113
  qosClass: BestEffort
  startTime: "2026-04-17T04:37:10Z"
