apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-04-28T03:19:13Z"
  generateName: keepalived-
  labels:
    application: keepalived
    controller-revision-hash: 7b8964d48d
    pod-template-generation: "1"
  name: keepalived-pc45c
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: keepalived
    uid: 9b533409-898e-46a0-9ebb-14d090c8554a
  resourceVersion: "22281"
  uid: 8689a338-21b0-469c-8914-4df0a00a86a7
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-2xk58
      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-2xk58
      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-2xk58
      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-2xk58
    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-04-28T03:58:32Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T03:58:33Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T03:58:33Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T03:19:13Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://3e6329f91337db988f50c4e597263e87d767adae71c28f27fbdcb2fea3c66bb3
    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-04-28T03:58:32Z"
  hostIP: 199.204.45.3
  initContainerStatuses:
  - containerID: containerd://841af03159ca6a01c613286a07050134f828f044e43b1ecf038768cff2e9ff1a
    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://841af03159ca6a01c613286a07050134f828f044e43b1ecf038768cff2e9ff1a
        exitCode: 0
        finishedAt: "2026-04-28T03:51:56Z"
        reason: Completed
        startedAt: "2026-04-28T03:19:20Z"
  - containerID: containerd://1540ba23dd8203e7d86b393f05f7d5f657852373499d6038736d4d8691e0396e
    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://1540ba23dd8203e7d86b393f05f7d5f657852373499d6038736d4d8691e0396e
        exitCode: 0
        finishedAt: "2026-04-28T03:58:31Z"
        reason: Completed
        startedAt: "2026-04-28T03:51:57Z"
  phase: Running
  podIP: 199.204.45.3
  podIPs:
  - ip: 199.204.45.3
  qosClass: BestEffort
  startTime: "2026-04-28T03:19:13Z"
