apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 2b3466bd53c256ec73ac8983b6a36c494af1290cb8596398cf00ceb0ba2f4cef
    configmap-etc-hash: 35e04664d1a1961196cd72479b1894f293fb9880784560ee2c8479578e10f3e1
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-02-28T00:10:49Z"
  generateName: neutron-ovn-vpn-agent-default-
  labels:
    application: neutron
    component: ovn-vpn-agent
    controller-revision-hash: 74c5bb8967
    pod-template-generation: "1"
    release_group: neutron
  name: neutron-ovn-vpn-agent-default-gpzjd
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: neutron-ovn-vpn-agent-default
    uid: 50363e45-5b0b-4c68-8350-c3ed5f9ae968
  resourceVersion: "33179"
  uid: c06a3bcd-fa19-4374-9231-ef438a6985d5
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - command:
    - /tmp/neutron-ovn-vpn-agent.sh
    env:
    - name: RPC_PROBE_TIMEOUT
      value: "60"
    - name: RPC_PROBE_RETRIES
      value: "2"
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:main@sha256:55f9c67dda4cc7082739eea7cb21810862a56aac6fe8107a5f31627c601ab23e
    imagePullPolicy: IfNotPresent
    livenessProbe:
      exec:
        command:
        - python
        - /tmp/health-probe.py
        - --config-file
        - /etc/neutron/neutron.conf
        - --config-file
        - /etc/neutron/neutron_vpnaas.conf
        - --config-file
        - /etc/neutron/neutron_ovn_vpn_agent.ini
        - --liveness-probe
        - --use-fqdn
      failureThreshold: 3
      initialDelaySeconds: 120
      periodSeconds: 600
      successThreshold: 1
      timeoutSeconds: 580
    name: neutron-ovn-vpn-agent
    readinessProbe:
      exec:
        command:
        - python
        - /tmp/health-probe.py
        - --config-file
        - /etc/neutron/neutron.conf
        - --config-file
        - /etc/neutron/neutron_vpnaas.conf
        - --config-file
        - /etc/neutron/neutron_ovn_vpn_agent.ini
        - --use-fqdn
      failureThreshold: 3
      initialDelaySeconds: 30
      periodSeconds: 190
      successThreshold: 1
      timeoutSeconds: 185
    resources: {}
    securityContext:
      privileged: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /run
      name: run
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /var/lib/neutron
      name: pod-var-neutron
    - mountPath: /tmp/neutron-ovn-vpn-agent.sh
      name: neutron-bin
      readOnly: true
      subPath: neutron-ovn-vpn-agent.sh
    - mountPath: /tmp/health-probe.py
      name: neutron-bin
      readOnly: true
      subPath: health-probe.py
    - mountPath: /etc/neutron/neutron.conf
      name: neutron-etc
      readOnly: true
      subPath: neutron.conf
    - mountPath: /etc/neutron/plugins/ml2/ml2_conf.ini
      name: neutron-etc
      readOnly: true
      subPath: ml2_conf.ini
    - mountPath: /etc/neutron/neutron_vpnaas.conf
      name: neutron-etc
      readOnly: true
      subPath: neutron_vpnaas.conf
    - mountPath: /etc/neutron/neutron_ovn_vpn_agent.ini
      name: neutron-etc
      readOnly: true
      subPath: neutron_ovn_vpn_agent.ini
    - mountPath: /etc/sudoers.d/kolla_neutron_sudoers
      name: neutron-etc
      readOnly: true
      subPath: neutron_sudoers
    - mountPath: /etc/neutron/rootwrap.conf
      name: neutron-etc
      readOnly: true
      subPath: rootwrap.conf
    - mountPath: /etc/neutron/rootwrap.d/debug.filters
      name: neutron-etc
      readOnly: true
      subPath: debug.filters
    - mountPath: /etc/neutron/rootwrap.d/dhcp.filters
      name: neutron-etc
      readOnly: true
      subPath: dhcp.filters
    - mountPath: /etc/neutron/rootwrap.d/dibbler.filters
      name: neutron-etc
      readOnly: true
      subPath: dibbler.filters
    - mountPath: /etc/neutron/rootwrap.d/ebtables.filters
      name: neutron-etc
      readOnly: true
      subPath: ebtables.filters
    - mountPath: /etc/neutron/rootwrap.d/ipset-firewall.filters
      name: neutron-etc
      readOnly: true
      subPath: ipset-firewall.filters
    - mountPath: /etc/neutron/rootwrap.d/iptables-firewall.filters
      name: neutron-etc
      readOnly: true
      subPath: iptables-firewall.filters
    - mountPath: /etc/neutron/rootwrap.d/l3.filters
      name: neutron-etc
      readOnly: true
      subPath: l3.filters
    - mountPath: /etc/neutron/rootwrap.d/linuxbridge-plugin.filters
      name: neutron-etc
      readOnly: true
      subPath: linuxbridge-plugin.filters
    - mountPath: /etc/neutron/rootwrap.d/netns-cleanup.filters
      name: neutron-etc
      readOnly: true
      subPath: netns-cleanup.filters
    - mountPath: /etc/neutron/rootwrap.d/openvswitch-plugin.filters
      name: neutron-etc
      readOnly: true
      subPath: openvswitch-plugin.filters
    - mountPath: /etc/neutron/rootwrap.d/privsep.filters
      name: neutron-etc
      readOnly: true
      subPath: privsep.filters
    - mountPath: /var/lib/neutron/openstack-helm
      name: socket
    - mountPath: /run/netns
      mountPropagation: Bidirectional
      name: host-run-netns
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-px7qb
      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
      value: openstack:rabbitmq-neutron,openstack:neutron-server
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
      value: '[{"labels":{"application":"ovn","component":"ovn-controller"},"requireSameNode":true}]'
    - 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-px7qb
      readOnly: true
  - command:
    - /tmp/neutron-ovn-vpn-agent-init.sh
    env:
    - name: NEUTRON_USER_UID
      value: "42424"
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:main@sha256:55f9c67dda4cc7082739eea7cb21810862a56aac6fe8107a5f31627c601ab23e
    imagePullPolicy: IfNotPresent
    name: ovn-vpn-agent-init
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/neutron-ovn-vpn-agent-init.sh
      name: neutron-bin
      readOnly: true
      subPath: neutron-ovn-vpn-agent-init.sh
    - mountPath: /etc/neutron/neutron.conf
      name: neutron-etc
      readOnly: true
      subPath: neutron.conf
    - mountPath: /var/lib/neutron/openstack-helm
      name: socket
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-px7qb
      readOnly: true
  - command:
    - /tmp/neutron-ovn-init.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:main@sha256:55f9c67dda4cc7082739eea7cb21810862a56aac6fe8107a5f31627c601ab23e
    imagePullPolicy: IfNotPresent
    name: ovn-neutron-init
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/neutron-ovn-init.sh
      name: neutron-bin
      readOnly: true
      subPath: neutron-ovn-init.sh
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-px7qb
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: neutron-ovn-vpn-agent
  serviceAccountName: neutron-ovn-vpn-agent
  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
  - emptyDir: {}
    name: pod-var-neutron
  - hostPath:
      path: /run
      type: ""
    name: run
  - configMap:
      defaultMode: 365
      name: neutron-bin
    name: neutron-bin
  - name: neutron-etc
    secret:
      defaultMode: 292
      secretName: neutron-ovn-vpn-agent-default
  - hostPath:
      path: /var/lib/neutron/openstack-helm
      type: ""
    name: socket
  - hostPath:
      path: /run/netns
      type: ""
    name: host-run-netns
  - name: kube-api-access-px7qb
    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-02-28T00:13:38Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-02-28T00:48:50Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-02-28T00:48:50Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-02-28T00:10:49Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://9df097aab651910c777c7ce11dd67dc095ed3f176ef2847744cd9ffd54d7472b
    image: sha256:c12050c33f0d09817e0c2034185f960850c5538d0fbce73a1331d0d8adc2849c
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:55f9c67dda4cc7082739eea7cb21810862a56aac6fe8107a5f31627c601ab23e
    lastState:
      terminated:
        containerID: containerd://165d3e2549f6ea269578b1e8e79e588c9558b13530ab4f736f9f9ba64b1bbb5a
        exitCode: 0
        finishedAt: "2026-02-28T00:47:49Z"
        reason: Completed
        startedAt: "2026-02-28T00:30:08Z"
    name: neutron-ovn-vpn-agent
    ready: true
    restartCount: 2
    started: true
    state:
      running:
        startedAt: "2026-02-28T00:47:50Z"
  hostIP: 162.253.55.52
  initContainerStatuses:
  - containerID: containerd://2703c11961707ec3130ec07ed1d64aa955b89c60d1c09cae196b687bbab6cdcb
    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://2703c11961707ec3130ec07ed1d64aa955b89c60d1c09cae196b687bbab6cdcb
        exitCode: 0
        finishedAt: "2026-02-28T00:13:35Z"
        reason: Completed
        startedAt: "2026-02-28T00:10:49Z"
  - containerID: containerd://d5952b095aecccd4cf88d43cd2374c40c3df239f2a49d8139d5de22a55b66e81
    image: sha256:c12050c33f0d09817e0c2034185f960850c5538d0fbce73a1331d0d8adc2849c
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:55f9c67dda4cc7082739eea7cb21810862a56aac6fe8107a5f31627c601ab23e
    lastState: {}
    name: ovn-vpn-agent-init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://d5952b095aecccd4cf88d43cd2374c40c3df239f2a49d8139d5de22a55b66e81
        exitCode: 0
        finishedAt: "2026-02-28T00:13:36Z"
        reason: Completed
        startedAt: "2026-02-28T00:13:36Z"
  - containerID: containerd://93889cd9d5654954ce2918937f1c4a25ac9b9f492e3712aec0e045611a7230a8
    image: sha256:c12050c33f0d09817e0c2034185f960850c5538d0fbce73a1331d0d8adc2849c
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:55f9c67dda4cc7082739eea7cb21810862a56aac6fe8107a5f31627c601ab23e
    lastState: {}
    name: ovn-neutron-init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://93889cd9d5654954ce2918937f1c4a25ac9b9f492e3712aec0e045611a7230a8
        exitCode: 0
        finishedAt: "2026-02-28T00:13:38Z"
        reason: Completed
        startedAt: "2026-02-28T00:13:38Z"
  phase: Running
  podIP: 162.253.55.52
  podIPs:
  - ip: 162.253.55.52
  qosClass: BestEffort
  startTime: "2026-02-28T00:10:49Z"
