apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-07-10T00:41:45Z"
  generateName: magnum-cluster-api-proxy-
  labels:
    application: magnum
    component: cluster-api-proxy
    controller-revision-hash: 544fb5d7cb
    pod-template-generation: "1"
  name: magnum-cluster-api-proxy-4zcq2
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: magnum-cluster-api-proxy
    uid: c5b3f7a4-c659-4dd4-8aaa-fa4de7a865f5
  resourceVersion: "39129"
  uid: 2abb7ff1-7f01-4a7c-869f-ded1528d1a3b
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - command:
    - magnum-cluster-api-proxy
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/magnum:main@sha256:a1b9ceffceb828c43e6a422eb49053ff56d345637fd6478f1aa98b24b3fd96a0
    imagePullPolicy: IfNotPresent
    name: magnum-cluster-api-proxy
    resources: {}
    securityContext:
      privileged: true
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /run
      name: pod-run
    - mountPath: /etc/sudoers.d/magnum_capi_sudoers
      name: config
      readOnly: true
      subPath: magnum_capi_sudoers
    - mountPath: /var/lib/magnum/.magnum-cluster-api-proxy
      name: haproxy-state
    - mountPath: /run/netns
      mountPropagation: Bidirectional
      name: host-run-netns
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-cxh4z
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: magnum-conductor
  serviceAccountName: magnum-conductor
  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
  volumes:
  - emptyDir: {}
    name: pod-tmp
  - emptyDir: {}
    name: pod-run
  - configMap:
      defaultMode: 420
      name: magnum-cluster-api-proxy-config
    name: config
  - emptyDir: {}
    name: haproxy-state
  - hostPath:
      path: /run/netns
      type: ""
    name: host-run-netns
  - name: kube-api-access-cxh4z
    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-07-10T00:41:45Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-07-10T01:09:22Z"
    message: 'containers with unready status: [magnum-cluster-api-proxy]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-07-10T01:09:22Z"
    message: 'containers with unready status: [magnum-cluster-api-proxy]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-07-10T00:41:45Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://2f970e1eab57a38efbc42e66104475ce6b4e4f2cacbaf64d36f48dda3149cf70
    image: sha256:49e5b061b52b341038963397f5159c7ee93eba516b952412ce8f3ec2c7757ed9
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/magnum@sha256:a1b9ceffceb828c43e6a422eb49053ff56d345637fd6478f1aa98b24b3fd96a0
    lastState:
      terminated:
        containerID: containerd://2f970e1eab57a38efbc42e66104475ce6b4e4f2cacbaf64d36f48dda3149cf70
        exitCode: 1
        finishedAt: "2026-07-10T01:09:21Z"
        reason: Error
        startedAt: "2026-07-10T01:09:19Z"
    name: magnum-cluster-api-proxy
    ready: false
    restartCount: 10
    started: false
    state:
      waiting:
        message: back-off 5m0s restarting failed container=magnum-cluster-api-proxy
          pod=magnum-cluster-api-proxy-4zcq2_openstack(2abb7ff1-7f01-4a7c-869f-ded1528d1a3b)
        reason: CrashLoopBackOff
  hostIP: 199.204.45.109
  phase: Running
  podIP: 10.0.0.134
  podIPs:
  - ip: 10.0.0.134
  qosClass: BestEffort
  startTime: "2026-07-10T00:41:45Z"
