apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 6a12c7a1c81b64fbdccd21b6e8fb66de4e53f0e3d52cc1ecc82b5e5d460eb19a
    configmap-etc-hash: 1234cc4d62d610dd6b2b28ac987bff342260840dddbdf9a35fc4c6e10dc84ca7
  creationTimestamp: "2026-10-15T07:12:40Z"
  generateName: octavia-housekeeping-7d8848f478-
  labels:
    application: octavia
    component: housekeeping
    pod-template-hash: 7d8848f478
    release_group: octavia
  name: octavia-housekeeping-7d8848f478-qc66v
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: octavia-housekeeping-7d8848f478
    uid: 8206a0a2-a79d-483e-ba11-45c81776f91a
  resourceVersion: "22742"
  uid: bfda3617-d068-49c4-9883-2fc53f131028
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:2023.1@sha256:74bf794d6bcdaed6a692f30e60262a9ddffad4896239dff4aa38c03f5c549d50
    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: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-2fj44
      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: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-2fj44
      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: kube-api-access-2fj44
    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-15T07:14:44Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-10-15T07:14:45Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-10-15T07:14:45Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-10-15T07:12:40Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://374aa6b2590a69bf98bd84e64c391588e90a0b9ffb4a3b5afb27a920226fe964
    image: sha256:36f5bb78ff4302265a1b3947ba005340cb576892d33a3c2af51f015d3e087765
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia@sha256:74bf794d6bcdaed6a692f30e60262a9ddffad4896239dff4aa38c03f5c549d50
    lastState: {}
    name: octavia-housekeeping
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-10-15T07:14:44Z"
  hostIP: 162.253.55.66
  initContainerStatuses:
  - containerID: containerd://24a8d461b85595b7be525a12eba02ebf3053c04cc194c629f3a10ee2a09da862
    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://24a8d461b85595b7be525a12eba02ebf3053c04cc194c629f3a10ee2a09da862
        exitCode: 0
        finishedAt: "2026-10-15T07:14:43Z"
        reason: Completed
        startedAt: "2026-10-15T07:12:41Z"
  phase: Running
  podIP: 162.253.55.66
  podIPs:
  - ip: 162.253.55.66
  qosClass: BestEffort
  startTime: "2026-10-15T07:12:40Z"
