apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 6a12c7a1c81b64fbdccd21b6e8fb66de4e53f0e3d52cc1ecc82b5e5d460eb19a
    configmap-etc-hash: 51bb85a9c4d5841f3f4c80b480ee3615e37d94be1857351528f271580285b9b5
  creationTimestamp: "2026-05-19T00:48:31Z"
  generateName: octavia-api-59868dfdf5-
  labels:
    application: octavia
    component: api
    pod-template-hash: 59868dfdf5
    release_group: octavia
  name: octavia-api-59868dfdf5-w8lhl
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: octavia-api-59868dfdf5
    uid: 5c66af4e-1113-419a-8a19-a4a604be955a
  resourceVersion: "21892"
  uid: 0f501f34-a23e-47e4-8058-3abb70a9ead0
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:
              - api
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /tmp/octavia-api.sh
    - start
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia:2023.1@sha256:ff1754381b1199110a1bdad1baf2d89ea0f2f2aba3bdde8b105ed846de955bb5
    imagePullPolicy: IfNotPresent
    lifecycle:
      preStop:
        exec:
          command:
          - /tmp/octavia-api.sh
          - stop
    name: octavia-api
    ports:
    - containerPort: 9876
      name: o-api
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /
        port: 9876
        scheme: HTTP
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    resources: {}
    securityContext:
      runAsUser: 42424
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/octavia
      name: pod-etc-octavia
    - mountPath: /tmp/octavia-api.sh
      name: octavia-bin
      readOnly: true
      subPath: octavia-api.sh
    - mountPath: /etc/octavia/octavia.conf
      name: octavia-etc
      readOnly: true
      subPath: octavia.conf
    - mountPath: /etc/octavia/octavia-api-uwsgi.ini
      name: octavia-etc
      readOnly: true
      subPath: octavia-api-uwsgi.ini
    - mountPath: /etc/octavia/certs/server
      name: octavia-server-ca
    - mountPath: /etc/octavia/certs/client
      name: octavia-client-certs
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-wwtlr
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: 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
    - 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-wwtlr
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: octavia-api
  serviceAccountName: octavia-api
  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: kube-api-access-wwtlr
    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-19T00:50:17Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-19T00:50:32Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-19T00:50:32Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-19T00:48:31Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://8f5def8c27e185fe9c47adf7067cb648dd10bdc92b3ea58bfe3c317b3f698257
    image: sha256:bbd8c21716f24d0ac32617802baf0f322e9733a92774bfd03366fbda69ad4cdb
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia@sha256:ff1754381b1199110a1bdad1baf2d89ea0f2f2aba3bdde8b105ed846de955bb5
    lastState: {}
    name: octavia-api
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-05-19T00:50:17Z"
  hostIP: 199.204.45.157
  initContainerStatuses:
  - containerID: containerd://fb1f7c2976094607e79ab92371cec3cc377b4c9288463f66a893b4f746acb8aa
    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://fb1f7c2976094607e79ab92371cec3cc377b4c9288463f66a893b4f746acb8aa
        exitCode: 0
        finishedAt: "2026-05-19T00:50:16Z"
        reason: Completed
        startedAt: "2026-05-19T00:48:32Z"
  phase: Running
  podIP: 10.0.0.60
  podIPs:
  - ip: 10.0.0.60
  qosClass: BestEffort
  startTime: "2026-05-19T00:48:31Z"
