apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-05-19T17:09:01Z"
  generateName: keepalived-
  labels:
    application: keepalived
    controller-revision-hash: 7b8964d48d
    pod-template-generation: "1"
  name: keepalived-74bm9
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: keepalived
    uid: d708c582-72b4-48e0-949f-944fe1b99000
  resourceVersion: "28466"
  uid: 2299b467-df0e-4372-bf10-5ccf7ae1f734
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  automountServiceAccountToken: true
  containers:
  - command:
    - keepalived
    - -f
    - /etc/keepalived/keepalived.conf
    - --dont-fork
    - --log-console
    - --log-detail
    - --dump-conf
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/keepalived:latest@sha256:b794c04706ec6914fc3635e23c9d6a95351dec4c0d320eb83ae5a781b791e30d
    imagePullPolicy: Always
    name: keepalived
    resources: {}
    securityContext:
      allowPrivilegeEscalation: true
      capabilities:
        add:
        - NET_ADMIN
        - NET_BROADCAST
        - NET_RAW
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/keepalived
      mountPropagation: None
      name: keepalived-etc
      readOnly: true
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-9dqv6
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  hostNetwork: true
  initContainers:
  - env:
    - name: NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: DEPENDENCY_POD_JSON
      value: '[{"requireSameNode": true, "labels": {"application": "ovn", "component":
        "ovn-controller"}}]'
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge
    imagePullPolicy: IfNotPresent
    name: init
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-9dqv6
      readOnly: true
  - command:
    - /bin/wait-for-ip.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/keepalived:latest@sha256:b794c04706ec6914fc3635e23c9d6a95351dec4c0d320eb83ae5a781b791e30d
    imagePullPolicy: Always
    name: wait-for-ip
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /bin/wait-for-ip.sh
      mountPropagation: None
      name: keepalived-bin
      readOnly: true
      subPath: wait-for-ip.sh
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-9dqv6
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: keepalived
  serviceAccountName: keepalived
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/disk-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/memory-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/pid-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/unschedulable
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/network-unavailable
    operator: Exists
  volumes:
  - name: keepalived-etc
    secret:
      defaultMode: 420
      optional: false
      secretName: keepalived-etc
  - configMap:
      defaultMode: 493
      name: keepalived-bin
      optional: false
    name: keepalived-bin
  - name: kube-api-access-9dqv6
    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-19T17:57:50Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-19T17:57:51Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-19T17:57:51Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-19T17:09:01Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://8b89e1267c3f8f69f23cf5fca629d7f6cd0e1faaf926f08ebca3cdc61f9ff80e
    image: sha256:5133bc3650f9759986c04c99f83197d7218b98de67c2f678f14d0042ed5fd469
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/keepalived@sha256:b794c04706ec6914fc3635e23c9d6a95351dec4c0d320eb83ae5a781b791e30d
    lastState: {}
    name: keepalived
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-05-19T17:57:51Z"
  hostIP: 199.204.45.19
  initContainerStatuses:
  - containerID: containerd://6194264e716c2746438ba6d344c476c958aeaaa5184c07951991b42f53afaf2f
    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://6194264e716c2746438ba6d344c476c958aeaaa5184c07951991b42f53afaf2f
        exitCode: 0
        finishedAt: "2026-05-19T17:39:34Z"
        reason: Completed
        startedAt: "2026-05-19T17:09:03Z"
  - containerID: containerd://fd71c654673c6b7d085f3d56a8a25ef0a03f1cd6a6b69e298522249b6e9c0c28
    image: sha256:5133bc3650f9759986c04c99f83197d7218b98de67c2f678f14d0042ed5fd469
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/keepalived@sha256:b794c04706ec6914fc3635e23c9d6a95351dec4c0d320eb83ae5a781b791e30d
    lastState: {}
    name: wait-for-ip
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://fd71c654673c6b7d085f3d56a8a25ef0a03f1cd6a6b69e298522249b6e9c0c28
        exitCode: 0
        finishedAt: "2026-05-19T17:57:50Z"
        reason: Completed
        startedAt: "2026-05-19T17:39:36Z"
  phase: Running
  podIP: 199.204.45.19
  podIPs:
  - ip: 199.204.45.19
  qosClass: BestEffort
  startTime: "2026-05-19T17:09:01Z"
