apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 6a12c7a1c81b64fbdccd21b6e8fb66de4e53f0e3d52cc1ecc82b5e5d460eb19a
    configmap-etc-hash: c5840ed9ea5c92c325a23d87f07d6b8c4cb385efb941f6928eada5382cdbc970
  creationTimestamp: "2026-07-27T20:50:41Z"
  generateName: octavia-housekeeping-566d57c69b-
  labels:
    application: octavia
    component: housekeeping
    pod-template-hash: 566d57c69b
    release_group: octavia
  name: octavia-housekeeping-566d57c69b-8ch4g
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: octavia-housekeeping-566d57c69b
    uid: 815226a7-60d2-4b5e-ba5d-0b207f92c1f0
  resourceVersion: "24596"
  uid: 1ab31ee0-d0ff-4c70-86ce-863bec32b6be
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:zed@sha256:ff2e288845d81cf4e2c1468745d52858ce70d323d3b04c23a6d8c2c71c69e7b6
    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-g9v28
      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-g9v28
      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-g9v28
    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-07-27T20:52:35Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-07-27T20:52:36Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-07-27T20:52:36Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-07-27T20:50:41Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://283c973d30a56512d23e39659fafa7be290ae93e427145907fa0512b19b32bd8
    image: sha256:e602dc3374b4fa6743e83e2915a3b8b099c19d180d774108e7c2ad8584993eb9
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/octavia@sha256:ff2e288845d81cf4e2c1468745d52858ce70d323d3b04c23a6d8c2c71c69e7b6
    lastState: {}
    name: octavia-housekeeping
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-07-27T20:52:36Z"
  hostIP: 199.19.213.152
  initContainerStatuses:
  - containerID: containerd://291d4550766704f793889d9d8aef5126f79e9d6bda17d46e0596aa1729dcc0f0
    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://291d4550766704f793889d9d8aef5126f79e9d6bda17d46e0596aa1729dcc0f0
        exitCode: 0
        finishedAt: "2026-07-27T20:52:34Z"
        reason: Completed
        startedAt: "2026-07-27T20:50:42Z"
  phase: Running
  podIP: 199.19.213.152
  podIPs:
  - ip: 199.19.213.152
  qosClass: BestEffort
  startTime: "2026-07-27T20:50:41Z"
