apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-04-15T04:11:44Z"
  generateName: keepalived-
  labels:
    application: keepalived
    controller-revision-hash: 7b8964d48d
    pod-template-generation: "1"
  name: keepalived-mrxc4
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: keepalived
    uid: e1ef4dbd-8c74-4ae2-b3a5-1a13d47a3db4
  resourceVersion: "20268"
  uid: 80a1a7cb-e19d-4d27-9cab-799cc661aa21
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-w9hnk
      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-w9hnk
      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-w9hnk
      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-w9hnk
    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-15T04:39:05Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-15T04:39:36Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-15T04:39:36Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-15T04:11:44Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://7f315d58607a6e77a7fd1eaf24962d2e67a7c2433ed6528d887b394d9cdb4f74
    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-15T04:39:36Z"
  hostIP: 199.204.45.223
  initContainerStatuses:
  - containerID: containerd://de6778022d79018d8ca7792fee84134156ab8b5d41e4df659c98ebc0884644c8
    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://de6778022d79018d8ca7792fee84134156ab8b5d41e4df659c98ebc0884644c8
        exitCode: 0
        finishedAt: "2026-04-15T04:23:11Z"
        reason: Completed
        startedAt: "2026-04-15T04:11:45Z"
  - containerID: containerd://05401ff1a3583209c62ce47b75410985c056ee12c1e6c9b33aec316990a8a2bd
    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://05401ff1a3583209c62ce47b75410985c056ee12c1e6c9b33aec316990a8a2bd
        exitCode: 0
        finishedAt: "2026-04-15T04:39:03Z"
        reason: Completed
        startedAt: "2026-04-15T04:23:22Z"
  phase: Running
  podIP: 199.204.45.223
  podIPs:
  - ip: 199.204.45.223
  qosClass: BestEffort
  startTime: "2026-04-15T04:11:44Z"
