apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-06-10T04:27:28Z"
  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-kjlq2
  namespace: capi-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: capi-controller-manager-bc4cf8c95
    uid: 6adc89e9-a4f9-40ff-90ce-8a927a8f42fe
  resourceVersion: "26358"
  uid: 72e3b21d-5870-483c-9282-936dd5a01047
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-hp4k9
      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-hp4k9
    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-06-10T04:27:28Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-06-10T04:32:08Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-06-10T04:32:08Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-06-10T04:27:28Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://40aa2711cfe3bee12db916ccdf818d7790daf96d346a98dce4eba74a15ddcd70
    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://2ccd477cef1490d0e56c62bac71c70fdfd11637c09ff1b9fa1c980968365f343
        exitCode: 1
        finishedAt: "2026-06-10T04:31:23Z"
        message: |
          sourceDefinition"
          I0610 04:31:23.025142       1 controller.go:270] "All workers finished" controller="machinedeployment" controllerGroup="cluster.x-k8s.io" controllerKind="MachineDeployment"
          I0610 04:31:23.025164       1 server.go:254] "Shutting down metrics server with timeout of 1 minute" logger="controller-runtime.metrics"
          I0610 04:31:23.025179       1 controller.go:270] "All workers finished" controller="clusterresourceset" controllerGroup="addons.cluster.x-k8s.io" controllerKind="ClusterResourceSet"
          I0610 04:31:23.025204       1 controller.go:270] "All workers finished" controller="machinepool" controllerGroup="cluster.x-k8s.io" controllerKind="MachinePool"
          I0610 04:31:23.025218       1 server.go:68] "shutting down server" name="health probe" addr="[::]:9440"
          I0610 04:31:23.025224       1 controller.go:270] "All workers finished" controller="topology/machinedeployment" controllerGroup="cluster.x-k8s.io" controllerKind="MachineDeployment"
          I0610 04:31:23.025226       1 server.go:249] "Shutting down webhook server with timeout of 1 minute" logger="controller-runtime.webhook"
          I0610 04:31:23.025246       1 controller.go:270] "All workers finished" controller="topology/cluster" controllerGroup="cluster.x-k8s.io" controllerKind="Cluster"
          I0610 04:31:23.025266       1 controller.go:270] "All workers finished" controller="topology/machineset" controllerGroup="cluster.x-k8s.io" controllerKind="MachineSet"
          I0610 04:31:23.025295       1 controller.go:270] "All workers finished" controller="machine" controllerGroup="cluster.x-k8s.io" controllerKind="Machine"
          I0610 04:31:23.025339       1 controller.go:268] "Shutdown signal received, waiting for all workers to finish" controller="clustercache" controllerGroup="cluster.x-k8s.io" controllerKind="Cluster"
          E0610 04:31:23.024657       1 main.go:433] "Problem running manager" err="leader election lost" logger="setup"
          I0610 04:31:23.025386       1 controller.go:270] "All workers finished" controller="clusterclass" controllerGroup="cluster.x-k8s.io" controllerKind="ClusterClass"
        reason: Error
        startedAt: "2026-06-10T04:27:29Z"
    name: manager
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-06-10T04:31:59Z"
  hostIP: 199.204.45.109
  phase: Running
  podIP: 10.0.0.115
  podIPs:
  - ip: 10.0.0.115
  qosClass: BestEffort
  startTime: "2026-06-10T04:27:28Z"
