apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-07-02T01:12:10Z"
  generateName: capi-controller-manager-5647546676-
  labels:
    cluster.x-k8s.io/provider: cluster-api
    control-plane: controller-manager
    pod-template-hash: "5647546676"
  name: capi-controller-manager-5647546676-hr4c5
  namespace: capi-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: capi-controller-manager-5647546676
    uid: 07c5f6ab-811a-417b-bd30-b0dd9b55201b
  resourceVersion: "26327"
  uid: 5ec7c194-551f-4cc8-a349-b5697bdb31aa
spec:
  containers:
  - args:
    - --leader-elect
    - --diagnostics-address=:8443
    - --insecure-diagnostics=false
    - --feature-gates=MachinePool=true,ClusterTopology=true,RuntimeSDK=false,MachineSetPreflightChecks=true,MachineWaitForVolumeDetachConsiderVolumeAttachments=true,PriorityQueue=true,ReconcilerRateLimiting=true,InPlaceUpdates=false,MachineTaintPropagation=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.13.2
    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-s6pb6
      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-s6pb6
    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-02T01:12:10Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-07-02T01:16:36Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-07-02T01:16:36Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-07-02T01:12:10Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://89556f6ff3793afb639431e7eab2c59dd8d6dd1ed19d060b847e6055dba4a229
    image: harbor.atmosphere.dev/registry.k8s.io/cluster-api/cluster-api-controller:v1.13.2
    imageID: harbor.atmosphere.dev/registry.k8s.io/cluster-api/cluster-api-controller@sha256:e53df33f43352d5e7bf5a72fd4171c1447ef2123a4c551484e45395f3dbb1875
    lastState:
      terminated:
        containerID: containerd://0b32199dd710ef8892318218000c9a57d4b83ac60b797389803f7dde4cf9e58a
        exitCode: 1
        finishedAt: "2026-07-02T01:16:17Z"
        message: |
          rkers to finish" controller="clusterclass" controllerGroup="cluster.x-k8s.io" controllerKind="ClusterClass"
          I0702 01:16:17.474978       1 internal.go:590] "Stopping and waiting for HTTP servers"
          I0702 01:16:17.475024       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="clustercache" controllerGroup="cluster.x-k8s.io" controllerKind="Cluster"
          I0702 01:16:17.475011       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="machineset" controllerGroup="cluster.x-k8s.io" controllerKind="MachineSet"
          I0702 01:16:17.475051       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="topology/machinedeployment" controllerGroup="cluster.x-k8s.io" controllerKind="MachineDeployment"
          I0702 01:16:17.475102       1 internal.go:594] "Wait completed, proceeding to shutdown the manager"
          I0702 01:16:17.475117       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="clusterresourcesetbinding" controllerGroup="addons.cluster.x-k8s.io" controllerKind="ClusterResourceSetBinding"
          I0702 01:16:17.475132       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="topology/machineset" controllerGroup="cluster.x-k8s.io" controllerKind="MachineSet"
          I0702 01:16:17.475144       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="machinepool" controllerGroup="cluster.x-k8s.io" controllerKind="MachinePool"
          I0702 01:16:17.475159       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="cluster" controllerGroup="cluster.x-k8s.io" controllerKind="Cluster"
          I0702 01:16:17.475172       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="machine" controllerGroup="cluster.x-k8s.io" controllerKind="Machine"
          E0702 01:16:17.475184       1 main.go:402] "Problem running manager" err="leader election lost" logger="setup"
        reason: Error
        startedAt: "2026-07-02T01:12:11Z"
    name: manager
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-07-02T01:16:34Z"
  hostIP: 199.204.45.238
  phase: Running
  podIP: 10.0.0.123
  podIPs:
  - ip: 10.0.0.123
  qosClass: BestEffort
  startTime: "2026-07-02T01:12:10Z"
