apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-07-24T00:40:52Z"
  generateName: magnum-cluster-api-proxy-
  labels:
    application: magnum
    component: cluster-api-proxy
    controller-revision-hash: 69c8f97dd
    pod-template-generation: "1"
  name: magnum-cluster-api-proxy-mf7nm
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: magnum-cluster-api-proxy
    uid: 0002253f-1ebc-485c-8fe8-55a3dec69863
  resourceVersion: "38882"
  uid: 2cd842e0-3de5-4570-ad7a-d28b0a4b9bdb
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:6c8997a1cd15c07b3c9a78fbd73194afed03f784bbff9654b0b90d7fbc5c24df
    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-9t92x
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  nodeName: instance
  nodeSelector:
    openvswitch: 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-9t92x
    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-24T00:40:52Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-07-24T01:09:00Z"
    message: 'containers with unready status: [magnum-cluster-api-proxy]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-07-24T01:09:00Z"
    message: 'containers with unready status: [magnum-cluster-api-proxy]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-07-24T00:40:52Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://b2fe8b7bdb5bdb7430dbd5f960b30b56b0df11d5915a7e9b249e8b601d1b62be
    image: sha256:50ca4c69d6a39e12a736ca09a2f8403684d76a030bf5112221bd116cf0e5bec1
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/magnum@sha256:6c8997a1cd15c07b3c9a78fbd73194afed03f784bbff9654b0b90d7fbc5c24df
    lastState:
      terminated:
        containerID: containerd://b2fe8b7bdb5bdb7430dbd5f960b30b56b0df11d5915a7e9b249e8b601d1b62be
        exitCode: 1
        finishedAt: "2026-07-24T01:08:59Z"
        reason: Error
        startedAt: "2026-07-24T01:08:57Z"
    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-mf7nm_openstack(2cd842e0-3de5-4570-ad7a-d28b0a4b9bdb)
        reason: CrashLoopBackOff
  hostIP: 199.204.45.38
  phase: Running
  podIP: 10.0.0.23
  podIPs:
  - ip: 10.0.0.23
  qosClass: BestEffort
  startTime: "2026-07-24T00:40:52Z"
