apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: dde29ad97c654cc8fad36201a8777fee41188fec43634edd2e1425fbd8d03d69
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-20T10:50:07Z"
  generateName: openvswitch-
  labels:
    application: openvswitch
    component: server
    controller-revision-hash: 6c69c6467
    pod-template-generation: "1"
    release_group: openvswitch
  name: openvswitch-mjf88
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: openvswitch
    uid: a70f2f65-f23c-48cc-a563-2d8bda9479e7
  resourceVersion: "1793"
  uid: 313d4e0e-46a7-4f45-aa6f-db5aafffd3ec
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-rdr7z
      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-rdr7z
      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-rdr7z
      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-rdr7z
      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-rdr7z
      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-rdr7z
    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-20T10:50:11Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-20T10:50:28Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-20T10:50:28Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-20T10:50:07Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://be667e4f5b84be287a5434ba8049b0372f3ad597021a55484783d10a4b228990
    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-20T10:50:11Z"
  - containerID: containerd://e758e4ca59907c7cf82aa46c3cce7826f44e2212640ff6956d744682559ab60d
    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-20T10:50:11Z"
  hostIP: 199.204.45.205
  initContainerStatuses:
  - containerID: containerd://5bf4ab274eea596a819be7a18f6d0891c2146377f0e2eacdfe499b7d3e309dd6
    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://5bf4ab274eea596a819be7a18f6d0891c2146377f0e2eacdfe499b7d3e309dd6
        exitCode: 0
        finishedAt: "2026-04-20T10:50:09Z"
        reason: Completed
        startedAt: "2026-04-20T10:50:09Z"
  - containerID: containerd://ff09684a5aaa3dc39ae520e0827ebeaa837e124c3ffe98f50b288daea89ddd28
    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://ff09684a5aaa3dc39ae520e0827ebeaa837e124c3ffe98f50b288daea89ddd28
        exitCode: 0
        finishedAt: "2026-04-20T10:50:09Z"
        reason: Completed
        startedAt: "2026-04-20T10:50:09Z"
  - containerID: containerd://293037377f468ea69b486114d56f6b897ec1268798c6ed2b4e2dbf846985ce3b
    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://293037377f468ea69b486114d56f6b897ec1268798c6ed2b4e2dbf846985ce3b
        exitCode: 0
        finishedAt: "2026-04-20T10:50:10Z"
        reason: Completed
        startedAt: "2026-04-20T10:50:10Z"
  phase: Running
  podIP: 199.204.45.205
  podIPs:
  - ip: 199.204.45.205
  qosClass: BestEffort
  startTime: "2026-04-20T10:50:07Z"
