apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-06-15T20:45:53Z"
  generateName: capi-kubeadm-bootstrap-controller-manager-67b8b974d6-
  labels:
    cluster.x-k8s.io/provider: bootstrap-kubeadm
    control-plane: controller-manager
    pod-template-hash: 67b8b974d6
  name: capi-kubeadm-bootstrap-controller-manager-67b8b974d6-k98pc
  namespace: capi-kubeadm-bootstrap-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: capi-kubeadm-bootstrap-controller-manager-67b8b974d6
    uid: 889a66b2-d5b7-4930-94ad-3b5ccd67ad8a
  resourceVersion: "32043"
  uid: 87aa0121-cbea-4ce1-8ea3-3cb9c02d3f14
spec:
  containers:
  - args:
    - --leader-elect
    - --diagnostics-address=:8443
    - --insecure-diagnostics=false
    - --feature-gates=MachinePool=true,KubeadmBootstrapFormatIgnition=false,PriorityQueue=true,ReconcilerRateLimiting=true
    - --bootstrap-token-ttl=15m
    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/kubeadm-bootstrap-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-wfw26
      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-kubeadm-bootstrap-manager
  serviceAccountName: capi-kubeadm-bootstrap-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-kubeadm-bootstrap-webhook-service-cert
  - name: kube-api-access-wfw26
    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-15T20:45:53Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-06-15T21:03:59Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-06-15T21:03:59Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-06-15T20:45:53Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://9299eb47b43193cefb8b013c17d581365464c47098d4c4001741bbeaed6c6445
    image: harbor.atmosphere.dev/registry.k8s.io/cluster-api/kubeadm-bootstrap-controller:v1.13.2
    imageID: harbor.atmosphere.dev/registry.k8s.io/cluster-api/kubeadm-bootstrap-controller@sha256:864c7a385db1811c9db402a75632921fb695c06b7c42e63cb9b1b387cfa92f6b
    lastState:
      terminated:
        containerID: containerd://a6c15d93baea12ac321508127db9291448ce8e2edb04b366fcc2c1bc0170b604
        exitCode: 1
        finishedAt: "2026-06-15T21:03:51Z"
        message: |
          .io" controllerKind="Cluster"
          I0615 20:46:16.571446       1 controller.go:306] "Starting workers" controller="clustercache" controllerGroup="cluster.x-k8s.io" controllerKind="Cluster" worker count=100
          I0615 20:46:16.573277       1 controller.go:303] "Starting Controller" controller="kubeadmconfig" controllerGroup="bootstrap.cluster.x-k8s.io" controllerKind="KubeadmConfig"
          I0615 20:46:16.573333       1 controller.go:306] "Starting workers" controller="kubeadmconfig" controllerGroup="bootstrap.cluster.x-k8s.io" controllerKind="KubeadmConfig" worker count=100
          I0615 20:46:16.671624       1 controller.go:303] "Starting Controller" controller="crdmigrator" controllerGroup="apiextensions.k8s.io" controllerKind="CustomResourceDefinition"
          I0615 20:46:16.671676       1 controller.go:306] "Starting workers" controller="crdmigrator" controllerGroup="apiextensions.k8s.io" controllerKind="CustomResourceDefinition" worker count=1
          E0615 21:03:46.853622       1 leaderelection.go:445] "Failed to update lease optimistically, falling back to slow path" err="Put \"https://10.96.0.1:443/apis/coordination.k8s.io/v1/namespaces/capi-kubeadm-bootstrap-system/leases/kubeadm-bootstrap-manager-leader-election-capi?timeout=5s\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)" lock="capi-kubeadm-bootstrap-system/kubeadm-bootstrap-manager-leader-election-capi"
          E0615 21:03:51.853424       1 leaderelection.go:452] "Error retrieving lease lock" err="Get \"https://10.96.0.1:443/apis/coordination.k8s.io/v1/namespaces/capi-kubeadm-bootstrap-system/leases/kubeadm-bootstrap-manager-leader-election-capi?timeout=5s\": context deadline exceeded" lock="capi-kubeadm-bootstrap-system/kubeadm-bootstrap-manager-leader-election-capi"
          I0615 21:03:51.853484       1 leaderelection.go:299] "Failed to renew lease" lock="capi-kubeadm-bootstrap-system/kubeadm-bootstrap-manager-leader-election-capi" err="context deadline exceeded"
          E0615 21:03:51.853618       1 main.go:272] "problem running manager" err="leader election lost" logger="setup"
        reason: Error
        startedAt: "2026-06-15T20:45:57Z"
    name: manager
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-06-15T21:03:57Z"
  hostIP: 199.19.213.223
  phase: Running
  podIP: 10.0.0.115
  podIPs:
  - ip: 10.0.0.115
  qosClass: BestEffort
  startTime: "2026-06-15T20:45:53Z"
