apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-07-10T00:38:16Z"
  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-nx9w2
  namespace: capi-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: capi-controller-manager-5647546676
    uid: aa953512-7064-47d4-b094-d9221e69e780
  resourceVersion: "26470"
  uid: a133b2bc-fa76-4d65-84a8-041b28af1825
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-7g95f
      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-7g95f
    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:38:16Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-07-10T00:43:26Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-07-10T00:43:26Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-07-10T00:38:16Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://5724ce7f5491b4877a50afd3696b467802358b0db6a874e3af894d79e2082f29
    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://996efeb7566bc16abf76ba7de3e821b0325d380a0ce8cf22be020470471725e0
        exitCode: 1
        finishedAt: "2026-07-10T00:42:24Z"
        message: |2
           controller="machineset" controllerGroup="cluster.x-k8s.io" controllerKind="MachineSet"
          I0710 00:42:24.336956       1 server.go:254] "Shutting down metrics server with timeout of 1 minute" logger="controller-runtime.metrics"
          I0710 00:42:24.337021       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="topology/machineset" controllerGroup="cluster.x-k8s.io" controllerKind="MachineSet"
          I0710 00:42:24.337059       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="machinepool" controllerGroup="cluster.x-k8s.io" controllerKind="MachinePool"
          I0710 00:42:24.337072       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="topology/machinedeployment" controllerGroup="cluster.x-k8s.io" controllerKind="MachineDeployment"
          I0710 00:42:24.337223       1 controller.go:328] "All workers finished" controller="clusterclass" controllerGroup="cluster.x-k8s.io" controllerKind="ClusterClass"
          I0710 00:42:24.337280       1 controller.go:328] "All workers finished" controller="clusterresourcesetbinding" controllerGroup="addons.cluster.x-k8s.io" controllerKind="ClusterResourceSetBinding"
          I0710 00:42:24.337297       1 controller.go:326] "Shutdown signal received, waiting for all workers to finish" controller="clustercache" controllerGroup="cluster.x-k8s.io" controllerKind="Cluster"
          I0710 00:42:24.337321       1 controller.go:328] "All workers finished" controller="clusterresourceset" controllerGroup="addons.cluster.x-k8s.io" controllerKind="ClusterResourceSet"
          I0710 00:42:24.337316       1 controller.go:328] "All workers finished" controller="crdmigrator" controllerGroup="apiextensions.k8s.io" controllerKind="CustomResourceDefinition"
          E0710 00:42:24.337391       1 main.go:402] "Problem running manager" err="leader election lost" logger="setup"
          I0710 00:42:24.337408       1 controller.go:328] "All workers finished" controller="topology/machineset" controllerGroup="cluster.x-k8s.io" controllerKind="MachineSet"
        reason: Error
        startedAt: "2026-07-10T00:38:17Z"
    name: manager
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-07-10T00:43:09Z"
  hostIP: 199.204.45.109
  phase: Running
  podIP: 10.0.0.227
  podIPs:
  - ip: 10.0.0.227
  qosClass: BestEffort
  startTime: "2026-07-10T00:38:16Z"
