apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-03-04T02:07:48Z"
  generateName: capi-controller-manager-bc4cf8c95-
  labels:
    cluster.x-k8s.io/provider: cluster-api
    control-plane: controller-manager
    pod-template-hash: bc4cf8c95
  name: capi-controller-manager-bc4cf8c95-7zxt7
  namespace: capi-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: capi-controller-manager-bc4cf8c95
    uid: 7031b43f-335f-4130-b13c-403d4828b437
  resourceVersion: "27097"
  uid: 9cf5c42e-2488-40f9-95b3-60f0e438367c
spec:
  containers:
  - args:
    - --leader-elect
    - --diagnostics-address=:8443
    - --insecure-diagnostics=false
    - --feature-gates=MachinePool=true,ClusterResourceSet=true,ClusterTopology=true,RuntimeSDK=false,MachineSetPreflightChecks=true,MachineWaitForVolumeDetachConsiderVolumeAttachments=true,PriorityQueue=false
    command:
    - /manager
    env:
    - name: POD_NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: POD_UID
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.uid
    image: harbor.atmosphere.dev/registry.k8s.io/cluster-api/cluster-api-controller:v1.10.5
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 3
      httpGet:
        path: /healthz
        port: healthz
        scheme: HTTP
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    name: manager
    ports:
    - containerPort: 9443
      name: webhook-server
      protocol: TCP
    - containerPort: 9440
      name: healthz
      protocol: TCP
    - containerPort: 8443
      name: metrics
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /readyz
        port: healthz
        scheme: HTTP
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      privileged: false
      runAsGroup: 65532
      runAsUser: 65532
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
    volumeMounts:
    - mountPath: /tmp/k8s-webhook-server/serving-certs
      name: cert
      readOnly: true
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-xg2wk
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsNonRoot: true
    seccompProfile:
      type: RuntimeDefault
  serviceAccount: capi-manager
  serviceAccountName: capi-manager
  terminationGracePeriodSeconds: 10
  tolerations:
  - effect: NoSchedule
    key: node-role.kubernetes.io/master
  - effect: NoSchedule
    key: node-role.kubernetes.io/control-plane
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - name: cert
    secret:
      defaultMode: 420
      secretName: capi-webhook-service-cert
  - name: kube-api-access-xg2wk
    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-03-04T02:07:48Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-03-04T02:20:58Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-03-04T02:20:58Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-03-04T02:07:48Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://ad18248b340f818fd4f72bac4b1fb41007f12279a6e0c519615deeacd7abb2b0
    image: harbor.atmosphere.dev/registry.k8s.io/cluster-api/cluster-api-controller:v1.10.5
    imageID: harbor.atmosphere.dev/registry.k8s.io/cluster-api/cluster-api-controller@sha256:d93407d031296336ccbabc8494005672dc048c4ebc616ccfc18f813d49bd87fc
    lastState:
      terminated:
        containerID: containerd://f9d52066ddf9695d7983d7a554008a61faa24dc6bb72461e80e397242318acc1
        exitCode: 1
        finishedAt: "2026-03-04T02:20:13Z"
        message: |
          nd="Cluster"
          I0304 02:20:13.539022       1 controller.go:270] "All workers finished" controller="clusterresourcesetbinding" controllerGroup="addons.cluster.x-k8s.io" controllerKind="ClusterResourceSetBinding"
          I0304 02:20:13.539112       1 controller.go:270] "All workers finished" controller="topology/cluster" controllerGroup="cluster.x-k8s.io" controllerKind="Cluster"
          I0304 02:20:13.539162       1 server.go:249] "Shutting down webhook server with timeout of 1 minute" logger="controller-runtime.webhook"
          I0304 02:20:13.539287       1 controller.go:270] "All workers finished" controller="machineset" controllerGroup="cluster.x-k8s.io" controllerKind="MachineSet"
          I0304 02:20:13.539319       1 server.go:254] "Shutting down metrics server with timeout of 1 minute" logger="controller-runtime.metrics"
          I0304 02:20:13.539381       1 server.go:68] "shutting down server" name="health probe" addr="[::]:9440"
          I0304 02:20:13.539445       1 controller.go:270] "All workers finished" controller="topology/machineset" controllerGroup="cluster.x-k8s.io" controllerKind="MachineSet"
          I0304 02:20:13.539455       1 controller.go:270] "All workers finished" controller="machine" controllerGroup="cluster.x-k8s.io" controllerKind="Machine"
          I0304 02:20:13.539469       1 controller.go:270] "All workers finished" controller="crdmigrator" controllerGroup="apiextensions.k8s.io" controllerKind="CustomResourceDefinition"
          I0304 02:20:13.539493       1 controller.go:270] "All workers finished" controller="machinedeployment" controllerGroup="cluster.x-k8s.io" controllerKind="MachineDeployment"
          I0304 02:20:13.539512       1 controller.go:270] "All workers finished" controller="topology/machinedeployment" controllerGroup="cluster.x-k8s.io" controllerKind="MachineDeployment"
          I0304 02:20:13.539762       1 controller.go:270] "All workers finished" controller="machinehealthcheck" controllerGroup="cluster.x-k8s.io" controllerKind="MachineHealthCheck"
          E0304 02:20:13.540334       1 main.go:433] "Problem running manager" err="leader election lost" logger="setup"
        reason: Error
        startedAt: "2026-03-04T02:07:49Z"
    name: manager
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-03-04T02:20:55Z"
  hostIP: 199.204.45.141
  phase: Running
  podIP: 10.0.0.241
  podIPs:
  - ip: 10.0.0.241
  qosClass: BestEffort
  startTime: "2026-03-04T02:07:48Z"
