apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: c4bcb2ed7bca6cdaa6a717953414bfd7a424a44d6e703264226311286766ccaa
    configmap-etc-hash: 10f3325ce683bfc3cbff8055d71a11d3fb238b47ee6ef1f7318fa0a300219f6f
  creationTimestamp: "2026-10-13T11:38:35Z"
  generateName: octavia-housekeeping-94c9c945f-
  labels:
    application: octavia
    component: housekeeping
    pod-template-hash: 94c9c945f
    release_group: octavia
  name: octavia-housekeeping-94c9c945f-hbwcr
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: octavia-housekeeping-94c9c945f
    uid: ac7c35e0-2701-4c55-a1bc-9170d02f9d2c
  resourceVersion: "23111"
  uid: f2cb3bf4-43e3-4377-b83a-55e5549b0a59
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:59acbe6bf654b2df82748eb75e1363e9735397ae9574deade955a0dd809b65bd
    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-vkmhk
      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
    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-vkmhk
      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-vkmhk
    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-10-13T11:40:58Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-10-13T11:40:59Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-10-13T11:40:59Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-10-13T11:38:35Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://bd448b80e3e8b374dbb27f6dde1a24bd8468fc1bc88b786e54d979e52456bb2d
    image: sha256:f3b7111ddec1fb08f3a7e704d78d236ca4c9f3429c4bcf080a31bb0741577624
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia@sha256:59acbe6bf654b2df82748eb75e1363e9735397ae9574deade955a0dd809b65bd
    lastState: {}
    name: octavia-housekeeping
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-10-13T11:40:59Z"
  hostIP: 162.253.55.203
  initContainerStatuses:
  - containerID: containerd://8ed5e2fe096d35e41ff1062177d02f8a049efb1d1b9e0f5eaf71b88f7a103db2
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://8ed5e2fe096d35e41ff1062177d02f8a049efb1d1b9e0f5eaf71b88f7a103db2
        exitCode: 0
        finishedAt: "2026-10-13T11:40:58Z"
        reason: Completed
        startedAt: "2026-10-13T11:38:35Z"
  phase: Running
  podIP: 162.253.55.203
  podIPs:
  - ip: 162.253.55.203
  qosClass: BestEffort
  startTime: "2026-10-13T11:38:35Z"
