apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 6a12c7a1c81b64fbdccd21b6e8fb66de4e53f0e3d52cc1ecc82b5e5d460eb19a
    configmap-etc-hash: bd6c72c3540a1fb294dd01b3fb32d5fdf531be05756f826353040f6dcf33318a
  creationTimestamp: "2026-02-27T15:28:10Z"
  generateName: octavia-worker-57cbf99945-
  labels:
    application: octavia
    component: worker
    pod-template-hash: 57cbf99945
    release_group: octavia
  name: octavia-worker-57cbf99945-pwfjm
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: octavia-worker-57cbf99945
    uid: 77a5a45c-c0f7-4d33-a4fd-87a098f7fea5
  resourceVersion: "23278"
  uid: 4758074c-35b9-4acd-b15b-e9de920703cd
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:zed@sha256:0b65d3d66c8e8c6720113826018fbb7502a0c0771a89d3a35a24c68347b3e0f0
    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/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-hxh62
      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: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@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    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-hxh62
      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-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-hxh62
    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-27T15:30:04Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-02-27T15:30:05Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-02-27T15:30:05Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-02-27T15:28:10Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://6875646bbf21adeb01afc3d5457faf800a0aae5b3d941631218f84b3a2dc1271
    image: sha256:fbe57d575b12f7c8ea15d7034a36e820bc217700938fa8208dc0db33499dfeea
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia@sha256:0b65d3d66c8e8c6720113826018fbb7502a0c0771a89d3a35a24c68347b3e0f0
    lastState: {}
    name: octavia-worker
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-02-27T15:30:04Z"
  hostIP: 199.19.213.79
  initContainerStatuses:
  - containerID: containerd://c12a40ee150b05be33e03e3489faec542a8786652758c4232e41c3a69029eab8
    image: sha256:d656bd5737950b86b0ecff4b0206024769c78ea55e2f9f4c840c3cc2a10caaf8
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://c12a40ee150b05be33e03e3489faec542a8786652758c4232e41c3a69029eab8
        exitCode: 0
        finishedAt: "2026-02-27T15:30:04Z"
        reason: Completed
        startedAt: "2026-02-27T15:28:11Z"
  phase: Running
  podIP: 199.19.213.79
  podIPs:
  - ip: 199.19.213.79
  qosClass: BestEffort
  startTime: "2026-02-27T15:28:11Z"
