apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: c4bcb2ed7bca6cdaa6a717953414bfd7a424a44d6e703264226311286766ccaa
    configmap-etc-hash: 2530a40ba41989e102ab732411ee12dbd7c4a76fd5c005d3bed28180533b32eb
  creationTimestamp: "2026-05-13T19:10:41Z"
  generateName: octavia-housekeeping-b7b774f78-
  labels:
    application: octavia
    component: housekeeping
    pod-template-hash: b7b774f78
    release_group: octavia
  name: octavia-housekeeping-b7b774f78-25txl
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: octavia-housekeeping-b7b774f78
    uid: 6c15a1b8-2cde-4189-9d48-0b0b55767aa4
  resourceVersion: "23326"
  uid: adc84ba2-2bcf-49fe-8c36-4792c25d3b17
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:dbb2eeaaae9219b8a23fba24007ebee19dbdb8b4ee2b30d1bed9556b67422a30
    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-8v6bq
      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-8v6bq
      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-8v6bq
    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-13T19:12:55Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-13T19:12:56Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-13T19:12:56Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-13T19:10:41Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://28a08b36c3b49a2f090cfeae1c7f33c3f51ded140c0e10beff9d7b8f4a333104
    image: sha256:9c8e0d5bc394c955d709ce466b6ca4a4996bc48502fbc386f51c87f26a333123
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia@sha256:dbb2eeaaae9219b8a23fba24007ebee19dbdb8b4ee2b30d1bed9556b67422a30
    lastState: {}
    name: octavia-housekeeping
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-05-13T19:12:56Z"
  hostIP: 199.204.45.162
  initContainerStatuses:
  - containerID: containerd://aaecf11b8c060a7e90664868d87193e1b648f0b85232d0fa845e95f4118977fb
    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://aaecf11b8c060a7e90664868d87193e1b648f0b85232d0fa845e95f4118977fb
        exitCode: 0
        finishedAt: "2026-05-13T19:12:54Z"
        reason: Completed
        startedAt: "2026-05-13T19:10:42Z"
  phase: Running
  podIP: 199.204.45.162
  podIPs:
  - ip: 199.204.45.162
  qosClass: BestEffort
  startTime: "2026-05-13T19:10:41Z"
