apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: dde29ad97c654cc8fad36201a8777fee41188fec43634edd2e1425fbd8d03d69
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-28T07:17:42Z"
  generateName: openvswitch-
  labels:
    application: openvswitch
    component: server
    controller-revision-hash: 6c69c6467
    pod-template-generation: "1"
    release_group: openvswitch
  name: openvswitch-6rhlc
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: openvswitch
    uid: 877e9006-1ddd-4c8b-846e-c5f430f89878
  resourceVersion: "1588"
  uid: ee0e4745-e784-4cf4-9472-a9c91187db82
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-hvs4r
      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-hvs4r
      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-hvs4r
      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-hvs4r
      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-hvs4r
      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-hvs4r
    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-28T07:17:49Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T07:18:03Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T07:18:03Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T07:17:42Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://9d4720ff5f38ced15165d71ee01d85178e1fb346e7637b8bc7d31275294d96ce
    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-28T07:17:49Z"
  - containerID: containerd://8769826c7fef14afabd5a71d500b908df208ed1a38518a60dd19c42153c4d910
    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-28T07:17:50Z"
  hostIP: 199.19.213.75
  initContainerStatuses:
  - containerID: containerd://b40f0e346e23a14139c04c77c71e775ecfd7b87c3a94653c9f869598c321aec7
    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://b40f0e346e23a14139c04c77c71e775ecfd7b87c3a94653c9f869598c321aec7
        exitCode: 0
        finishedAt: "2026-04-28T07:17:43Z"
        reason: Completed
        startedAt: "2026-04-28T07:17:43Z"
  - containerID: containerd://18ddfa970c5be704819686e756112260cdae1931026de1d9ca6ef76ff9060075
    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://18ddfa970c5be704819686e756112260cdae1931026de1d9ca6ef76ff9060075
        exitCode: 0
        finishedAt: "2026-04-28T07:17:45Z"
        reason: Completed
        startedAt: "2026-04-28T07:17:45Z"
  - containerID: containerd://45dec21ecc148b287a3f81cc6444b928f02e6d3ea8c71827fd8c286192d62751
    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://45dec21ecc148b287a3f81cc6444b928f02e6d3ea8c71827fd8c286192d62751
        exitCode: 0
        finishedAt: "2026-04-28T07:17:48Z"
        reason: Completed
        startedAt: "2026-04-28T07:17:48Z"
  phase: Running
  podIP: 199.19.213.75
  podIPs:
  - ip: 199.19.213.75
  qosClass: BestEffort
  startTime: "2026-04-28T07:17:42Z"
