apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-05-15T08:18:03Z"
  generateName: keepalived-
  labels:
    application: keepalived
    controller-revision-hash: 7b8964d48d
    pod-template-generation: "1"
  name: keepalived-4k6sw
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: keepalived
    uid: 876240f3-b47e-44b4-bf85-7240a8758890
  resourceVersion: "28101"
  uid: 066d9f97-9dca-4b38-8c0b-0ee94b660974
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-f4jbs
      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-f4jbs
      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-f4jbs
      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-f4jbs
    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-15T09:05:27Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-15T09:05:28Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-15T09:05:28Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-15T08:18:03Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://3b23fb55cf6db69fd7ca15ab8e9f914bde7609310d0bf369aba69d2357e97237
    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-15T09:05:27Z"
  hostIP: 199.204.45.23
  initContainerStatuses:
  - containerID: containerd://0e1c933d9a1f254d2b826f490c924c2594261117e2978a5b14e89bb13c7f89a5
    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://0e1c933d9a1f254d2b826f490c924c2594261117e2978a5b14e89bb13c7f89a5
        exitCode: 0
        finishedAt: "2026-05-15T08:46:25Z"
        reason: Completed
        startedAt: "2026-05-15T08:18:05Z"
  - containerID: containerd://518a34a1ff54a6599392c19a6efde10f9820c591c11c873da2916692e1037798
    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://518a34a1ff54a6599392c19a6efde10f9820c591c11c873da2916692e1037798
        exitCode: 0
        finishedAt: "2026-05-15T09:05:26Z"
        reason: Completed
        startedAt: "2026-05-15T08:46:27Z"
  phase: Running
  podIP: 199.204.45.23
  podIPs:
  - ip: 199.204.45.23
  qosClass: BestEffort
  startTime: "2026-05-15T08:18:03Z"
