apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-05-29T22:56:23Z"
  generateName: capo-controller-manager-65565fdb7f-
  labels:
    cluster.x-k8s.io/provider: infrastructure-openstack
    control-plane: capo-controller-manager
    pod-template-hash: 65565fdb7f
  name: capo-controller-manager-65565fdb7f-89ksx
  namespace: capo-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: capo-controller-manager-65565fdb7f
    uid: 6f45deb7-1afe-4d4b-ac8b-54b5c44360c4
  resourceVersion: "39511"
  uid: 8a9ab88e-782b-466e-ae5a-03b6786e7fe4
spec:
  containers:
  - args:
    - --leader-elect
    - --v=2
    - --diagnostics-address=127.0.0.1:8080
    - --insecure-diagnostics=true
    command:
    - /manager
    env:
    - name: CLUSTER_API_OPENSTACK_INSTANCE_CREATE_TIMEOUT
      value: "10"
    image: harbor.atmosphere.dev/registry.k8s.io/capi-openstack/capi-openstack-controller:v0.12.7
    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
    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-5p5ls
      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: capo-manager
  serviceAccountName: capo-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: capo-webhook-service-cert
  - name: kube-api-access-5p5ls
    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-05-29T22:56:23Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-29T23:31:22Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-29T23:31:22Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-29T22:56:23Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://2fe708c54112a9486371956d72fbb0ad9f596ed176ae88819844d2425cff0f51
    image: harbor.atmosphere.dev/registry.k8s.io/capi-openstack/capi-openstack-controller:v0.12.7
    imageID: harbor.atmosphere.dev/registry.k8s.io/capi-openstack/capi-openstack-controller@sha256:b964c2f374ad4f26a593749d3c737492d5c1821db143b26596c9285b9055a8b4
    lastState:
      terminated:
        containerID: containerd://ae2893bb30f1dcf74dc400d4f7e6a88f3dd41749a1ec3f3ba7932cf02fcc045d
        exitCode: 1
        finishedAt: "2026-05-29T23:30:58Z"
        message: |2
           23:30:55.503115       1 internal.go:538] "Stopping and waiting for non leader election runnables"
          I0529 23:30:55.503146       1 internal.go:542] "Stopping and waiting for leader election runnables"
          I0529 23:30:55.503171       1 internal.go:550] "Stopping and waiting for caches"
          I0529 23:30:55.503189       1 internal.go:554] "Stopping and waiting for webhooks"
          I0529 23:30:55.503201       1 internal.go:557] "Stopping and waiting for HTTP servers"
          I0529 23:30:55.503212       1 internal.go:561] "Wait completed, proceeding to shutdown the manager"
          I0529 23:30:55.503230       1 controller.go:237] "Shutdown signal received, waiting for all workers to finish" controller="openstackcluster" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="OpenStackCluster"
          I0529 23:30:55.503246       1 controller.go:237] "Shutdown signal received, waiting for all workers to finish" controller="openstackmachine" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="OpenStackMachine"
          I0529 23:30:55.503259       1 controller.go:237] "Shutdown signal received, waiting for all workers to finish" controller="openstackserver" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="OpenStackServer"
          I0529 23:30:55.503272       1 controller.go:237] "Shutdown signal received, waiting for all workers to finish" controller="openstackfloatingippool" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="OpenStackFloatingIPPool"
          W0529 23:30:55.503445       1 reflector.go:484] pkg/mod/k8s.io/client-go@v0.31.14/tools/cache/reflector.go:243: watch of *v1beta1.OpenStackCluster ended with: an error on the server ("unable to decode an event from the watch stream: context canceled") has prevented the request from succeeding
          W0529 23:30:55.503539       1 reflector.go:484] pkg/mod/k8s.io/client-go@v0.31.14/tools/cache/reflector.go:243: watch of *v1beta1.IPAddressClaim ended with: an error on the server ("unable to decode an event from the watch stream: context canceled") has prevented the request from succeeding
        reason: Error
        startedAt: "2026-05-29T23:03:44Z"
    name: manager
    ready: true
    restartCount: 4
    started: true
    state:
      running:
        startedAt: "2026-05-29T23:31:21Z"
  hostIP: 199.19.213.147
  phase: Running
  podIP: 10.0.0.92
  podIPs:
  - ip: 10.0.0.92
  qosClass: BestEffort
  startTime: "2026-05-29T22:56:23Z"
