apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: c4bcb2ed7bca6cdaa6a717953414bfd7a424a44d6e703264226311286766ccaa
    configmap-etc-hash: d995fa1d8551eefe634451765c7589613752ef1ba2dce2ccfc16cb35a5f13a71
  creationTimestamp: "2026-05-05T13:33:23Z"
  generateName: octavia-worker-7776d645b4-
  labels:
    application: octavia
    component: worker
    pod-template-hash: 7776d645b4
    release_group: octavia
  name: octavia-worker-7776d645b4-qvhsc
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: octavia-worker-7776d645b4
    uid: 64ebe0ce-3174-4e69-a5f8-2c0f4c8d3a1f
  resourceVersion: "22433"
  uid: 66f664e3-ca8f-4d0a-a3c8-5d583057b5f1
spec:
  affinity:
    podAntiAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - podAffinityTerm:
          labelSelector:
            matchExpressions:
            - key: release_group
              operator: In
              values:
              - octavia
            - key: application
              operator: In
              values:
              - octavia
            - key: component
              operator: In
              values:
              - worker
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /tmp/octavia-worker.sh
    - start
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia:main@sha256:13bfd0f2e24ca220fa66a1996c6e403fcf2b8ddb2cc86705ea250c5f65fb4487
    imagePullPolicy: IfNotPresent
    lifecycle:
      preStop:
        exec:
          command:
          - /tmp/octavia-worker.sh
          - stop
    name: octavia-worker
    resources: {}
    securityContext:
      runAsUser: 42424
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/octavia
      name: pod-etc-octavia
    - mountPath: /tmp/octavia-worker.sh
      name: octavia-bin
      readOnly: true
      subPath: octavia-worker.sh
    - mountPath: /etc/octavia/octavia.conf
      name: octavia-etc
      readOnly: true
      subPath: octavia.conf
    - mountPath: /etc/octavia/certs/server
      name: octavia-server-ca
    - mountPath: /etc/octavia/certs/jobboard-default
      name: octavia-jobboard-default-ca
    - mountPath: /etc/octavia/certs/jobboard-sentinel
      name: octavia-jobboard-sentinel-ca
    - mountPath: /etc/octavia/certs/client
      name: octavia-client-certs
    - mountPath: /var/lib/octavia/.ssh
      name: octavia-amphora-ssh-key
      readOnly: true
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-qf2wt
      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:percona-xtradb-haproxy,openstack:percona-xtradb-haproxy,openstack:keystone-api,openstack:rabbitmq-octavia,openstack:memcached,openstack:neutron-server,openstack:octavia-api
    - name: DEPENDENCY_JOBS
      value: octavia-db-sync,octavia-ks-user,octavia-ks-endpoints,octavia-rabbit-init
    - 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-qf2wt
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: octavia-worker
  serviceAccountName: octavia-worker
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - emptyDir: {}
    name: pod-etc-octavia
  - configMap:
      defaultMode: 365
      name: octavia-bin
    name: octavia-bin
  - name: octavia-etc
    secret:
      defaultMode: 292
      secretName: octavia-etc
  - name: octavia-jobboard-default-ca
    secret:
      defaultMode: 420
      secretName: valkey-server-certs
  - name: octavia-jobboard-sentinel-ca
    secret:
      defaultMode: 420
      secretName: valkey-server-certs
  - name: octavia-server-ca
    secret:
      defaultMode: 420
      secretName: octavia-server-ca
  - name: octavia-client-certs
    secret:
      defaultMode: 420
      secretName: octavia-client-certs
  - name: octavia-amphora-ssh-key
    secret:
      defaultMode: 292
      secretName: octavia-amphora-ssh-key
  - name: kube-api-access-qf2wt
    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-05-05T13:35:37Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-05T13:35:38Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-05T13:35:38Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-05T13:33:23Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://d68bf17717940090c775b6d002a0e8093039df32508d71b9d087f5f447861099
    image: sha256:35ad58aa281602c6454646ef9f6a0a24630456d0180004c9eb20f25fddd652a4
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia@sha256:13bfd0f2e24ca220fa66a1996c6e403fcf2b8ddb2cc86705ea250c5f65fb4487
    lastState: {}
    name: octavia-worker
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-05-05T13:35:37Z"
  hostIP: 199.204.45.44
  initContainerStatuses:
  - containerID: containerd://21503d79ea0f16c129e91e24128353f8c65d06033b647838c067579c3b8df694
    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://21503d79ea0f16c129e91e24128353f8c65d06033b647838c067579c3b8df694
        exitCode: 0
        finishedAt: "2026-05-05T13:35:36Z"
        reason: Completed
        startedAt: "2026-05-05T13:33:24Z"
  phase: Running
  podIP: 199.204.45.44
  podIPs:
  - ip: 199.204.45.44
  qosClass: BestEffort
  startTime: "2026-05-05T13:33:23Z"
