apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: c4bcb2ed7bca6cdaa6a717953414bfd7a424a44d6e703264226311286766ccaa
    configmap-etc-hash: dfe21e097a1b408bb4693d8c183d9758dfb3d01c8b3462a5949932da8c8052ed
  creationTimestamp: "2026-09-08T16:31:36Z"
  generateName: octavia-api-846d5f5cb-
  labels:
    application: octavia
    component: api
    pod-template-hash: 846d5f5cb
    release_group: octavia
  name: octavia-api-846d5f5cb-t8bf2
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: octavia-api-846d5f5cb
    uid: 721d2a2c-f83b-4f73-8880-c81142a53383
  resourceVersion: "25931"
  uid: f53dc66c-5abe-4c16-91b7-57d12eff8e42
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:2024.2@sha256:c6fba51db7679287a5db9499764de2b6259fbb4ad082cc8ee2746da217032bf5
    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: /etc/octavia/certs/jobboard-default
      name: octavia-jobboard-default-ca
    - mountPath: /etc/octavia/certs/jobboard-sentinel
      name: octavia-jobboard-sentinel-ca
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-7rcm8
      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: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-7rcm8
      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: octavia-jobboard-default-ca
    secret:
      defaultMode: 420
      secretName: valkey-server-certs
  - name: octavia-jobboard-sentinel-ca
    secret:
      defaultMode: 420
      secretName: valkey-server-certs
  - name: kube-api-access-7rcm8
    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-09-08T16:33:34Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-09-08T16:31:36Z"
    message: 'containers with unready status: [octavia-api]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-09-08T16:31:36Z"
    message: 'containers with unready status: [octavia-api]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-09-08T16:31:36Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://30976134ca45f3d7f6c5042af6d67bd518e6a693b238028f0bbb03592110756e
    image: sha256:e8d680e2dd7559a9159586ded3f27d49fbadcc36f836fb36f0857b1b173abddf
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia@sha256:c6fba51db7679287a5db9499764de2b6259fbb4ad082cc8ee2746da217032bf5
    lastState:
      terminated:
        containerID: containerd://30976134ca45f3d7f6c5042af6d67bd518e6a693b238028f0bbb03592110756e
        exitCode: 22
        finishedAt: "2026-09-08T16:40:02Z"
        reason: Error
        startedAt: "2026-09-08T16:39:55Z"
    name: octavia-api
    ready: false
    restartCount: 6
    started: false
    state:
      waiting:
        message: back-off 5m0s restarting failed container=octavia-api pod=octavia-api-846d5f5cb-t8bf2_openstack(f53dc66c-5abe-4c16-91b7-57d12eff8e42)
        reason: CrashLoopBackOff
  hostIP: 162.253.55.85
  initContainerStatuses:
  - containerID: containerd://f219b1b0454e6126262ecdb7c9e388eb3f64687b88b3205727610751a961f663
    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://f219b1b0454e6126262ecdb7c9e388eb3f64687b88b3205727610751a961f663
        exitCode: 0
        finishedAt: "2026-09-08T16:33:33Z"
        reason: Completed
        startedAt: "2026-09-08T16:31:37Z"
  phase: Running
  podIP: 10.0.0.160
  podIPs:
  - ip: 10.0.0.160
  qosClass: BestEffort
  startTime: "2026-09-08T16:31:36Z"
