apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-04-20T14:40:23Z"
  generateName: keepalived-
  labels:
    application: keepalived
    controller-revision-hash: 7b8964d48d
    pod-template-generation: "1"
  name: keepalived-k8tw8
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: keepalived
    uid: ed2356bd-368f-4b58-9a66-4e34efbc2b5e
  resourceVersion: "22548"
  uid: 3ec2880b-59f5-499f-9c24-c5cf62659be5
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-p8ghh
      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-p8ghh
      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-p8ghh
      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-p8ghh
    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-20T15:06:53Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-20T15:06:54Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-20T15:06:54Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-20T14:40:23Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://505ef0478b294b85d586ea6bd2870eecd248a76cf531280af25789ee930cd99d
    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-20T15:06:53Z"
  hostIP: 199.204.45.38
  initContainerStatuses:
  - containerID: containerd://044768804a9f10e1265342b3ed7ecbb11d3971c58d11022e828cf9ff8fe94be3
    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://044768804a9f10e1265342b3ed7ecbb11d3971c58d11022e828cf9ff8fe94be3
        exitCode: 0
        finishedAt: "2026-04-20T15:01:56Z"
        reason: Completed
        startedAt: "2026-04-20T14:40:24Z"
  - containerID: containerd://d7974d4204af4b03cb7c4d1d577e55270d4d45c0a222f3a29a59afc0b6276359
    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://d7974d4204af4b03cb7c4d1d577e55270d4d45c0a222f3a29a59afc0b6276359
        exitCode: 0
        finishedAt: "2026-04-20T15:06:53Z"
        reason: Completed
        startedAt: "2026-04-20T15:01:57Z"
  phase: Running
  podIP: 199.204.45.38
  podIPs:
  - ip: 199.204.45.38
  qosClass: BestEffort
  startTime: "2026-04-20T14:40:23Z"
