apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: c4bcb2ed7bca6cdaa6a717953414bfd7a424a44d6e703264226311286766ccaa
    configmap-etc-hash: 2a15a1c315009aea393a1c62311962274b216b843a21d392b3f9797ac98477ef
  creationTimestamp: "2026-09-30T03:02:41Z"
  generateName: octavia-housekeeping-5fb8787ff-
  labels:
    application: octavia
    component: housekeeping
    pod-template-hash: 5fb8787ff
    release_group: octavia
  name: octavia-housekeeping-5fb8787ff-68cz7
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: octavia-housekeeping-5fb8787ff
    uid: 38424de4-1812-45f3-bf22-69e1411e171c
  resourceVersion: "23273"
  uid: 5d0d741f-5851-4d34-ab31-44baa65418f7
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:
              - housekeeping
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /tmp/octavia-housekeeping.sh
    - start
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia:main@sha256:e66b49d417b329d07d8eadb2c23f80b7f55190e9b333c783b01a0c1dd3c62ee3
    imagePullPolicy: IfNotPresent
    lifecycle:
      preStop:
        exec:
          command:
          - /tmp/octavia-housekeeping.sh
          - stop
    name: octavia-housekeeping
    resources: {}
    securityContext:
      runAsUser: 42424
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/octavia
      name: pod-etc-octavia
    - mountPath: /tmp/octavia-housekeeping.sh
      name: octavia-bin
      readOnly: true
      subPath: octavia-housekeeping.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: /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-ztgrt
      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@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-ztgrt
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: octavia-housekeeping
  serviceAccountName: octavia-housekeeping
  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-ztgrt
    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-30T03:05:05Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-09-30T03:05:06Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-09-30T03:05:06Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-09-30T03:02:41Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://8628b8e0b6d89009218a08f61ce26a52c0ec286815f1a1a8edbece94948e1ff2
    image: sha256:3e3a5dde8befa4f8d853f6413989d92da08db5057ac8197c8bbe226cfffb8ae6
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia@sha256:e66b49d417b329d07d8eadb2c23f80b7f55190e9b333c783b01a0c1dd3c62ee3
    lastState: {}
    name: octavia-housekeeping
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-09-30T03:05:05Z"
  hostIP: 162.253.55.203
  initContainerStatuses:
  - containerID: containerd://fc322b7f81841bc1563248f4e5753110d53b60cba0bc7b3928731134dd07e04b
    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://fc322b7f81841bc1563248f4e5753110d53b60cba0bc7b3928731134dd07e04b
        exitCode: 0
        finishedAt: "2026-09-30T03:05:04Z"
        reason: Completed
        startedAt: "2026-09-30T03:02:42Z"
  phase: Running
  podIP: 162.253.55.203
  podIPs:
  - ip: 162.253.55.203
  qosClass: BestEffort
  startTime: "2026-09-30T03:02:41Z"
