apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubectl.kubernetes.io/default-container: manager
  creationTimestamp: "2026-06-23T19:34:54Z"
  generateName: orc-controller-manager-6cb597b5d4-
  labels:
    control-plane: controller-manager
    pod-template-hash: 6cb597b5d4
  name: orc-controller-manager-6cb597b5d4-7kspw
  namespace: orc-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: orc-controller-manager-6cb597b5d4
    uid: de649e75-4086-4031-b9a2-13dce17c58ae
  resourceVersion: "26344"
  uid: 7da7d0c5-1efa-42ce-9d87-7f6f2d102e89
spec:
  containers:
  - args:
    - --metrics-bind-address=:8443
    - --leader-elect
    - --health-probe-bind-address=:8081
    command:
    - /manager
    image: harbor.atmosphere.dev/quay.io/orc/openstack-resource-controller:v2.2.0
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 3
      httpGet:
        path: /healthz
        port: 8081
        scheme: HTTP
      initialDelaySeconds: 15
      periodSeconds: 20
      successThreshold: 1
      timeoutSeconds: 1
    name: manager
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /readyz
        port: 8081
        scheme: HTTP
      initialDelaySeconds: 5
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    resources:
      limits:
        cpu: 500m
        memory: 256Mi
      requests:
        cpu: 10m
        memory: 64Mi
    securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      privileged: false
      runAsGroup: 65532
      runAsUser: 65532
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: FallbackToLogsOnError
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-hx95q
      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: orc-controller-manager
  serviceAccountName: orc-controller-manager
  terminationGracePeriodSeconds: 10
  tolerations:
  - 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: kube-api-access-hx95q
    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-23T19:34:54Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-06-23T19:40:15Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-06-23T19:40:15Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-06-23T19:34:54Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://0f35b8a58f535c003c01395fee75a27171ca88b72c7ae48524d175d5ad2ebdc6
    image: harbor.atmosphere.dev/quay.io/orc/openstack-resource-controller:v2.2.0
    imageID: harbor.atmosphere.dev/quay.io/orc/openstack-resource-controller@sha256:e3c51b1c3048c3f8c2856a6327810981fd4624602091021c4d310092c85e247c
    lastState:
      terminated:
        containerID: containerd://095f1da6beb2776a1f830c6e62bec981da8b80e1f774f3c3fbb6277b7e4f762b
        exitCode: 1
        finishedAt: "2026-06-23T19:39:32Z"
        message: "r\": \"port\", \"controllerGroup\": \"openstack.k-orc.cloud\", \"controllerKind\":
          \"Port\", \"worker count\": 1}\n2026-06-23T19:34:58Z\tINFO\tStarting Controller\t{\"controller\":
          \"flavor\", \"controllerGroup\": \"openstack.k-orc.cloud\", \"controllerKind\":
          \"Flavor\"}\n2026-06-23T19:34:58Z\tINFO\tStarting workers\t{\"controller\":
          \"flavor\", \"controllerGroup\": \"openstack.k-orc.cloud\", \"controllerKind\":
          \"Flavor\", \"worker count\": 1}\n2026-06-23T19:34:58Z\tINFO\tStarting Controller\t{\"controller\":
          \"credentials_deletion_guard_for_port\", \"controllerGroup\": \"\", \"controllerKind\":
          \"Secret\"}\n2026-06-23T19:34:58Z\tINFO\tStarting workers\t{\"controller\":
          \"credentials_deletion_guard_for_port\", \"controllerGroup\": \"\", \"controllerKind\":
          \"Secret\", \"worker count\": 1}\n2026-06-23T19:34:58Z\tINFO\tcontroller-runtime.metrics\tServing
          metrics server\t{\"bindAddress\": \":8443\", \"secure\": true}\nE0623 19:39:23.611126
          \      1 leaderelection.go:429] Failed to update lock optimistically: the
          server was unable to return a response in the time allotted, but may still
          be processing the request (put leases.coordination.k8s.io f35396c5.k-orc.cloud),
          falling back to slow path\nE0623 19:39:28.611077       1 leaderelection.go:472]
          Failed to update lock: Put \"https://10.96.0.1:443/apis/coordination.k8s.io/v1/namespaces/orc-system/leases/f35396c5.k-orc.cloud?timeout=5s\":
          context deadline exceeded\nI0623 19:39:28.611171       1 leaderelection.go:297]
          failed to renew lease orc-system/f35396c5.k-orc.cloud: context deadline
          exceeded\n2026-06-23T19:39:32Z\tDEBUG\tevents\torc-controller-manager-6cb597b5d4-7kspw_8eafeb97-ab3c-49f9-ae4d-66749c21181d
          stopped leading\t{\"type\": \"Normal\", \"object\": {\"kind\":\"Lease\",\"namespace\":\"orc-system\",\"name\":\"f35396c5.k-orc.cloud\",\"uid\":\"32878b8d-d81c-41cc-ac7d-a947d51ff9eb\",\"apiVersion\":\"coordination.k8s.io/v1\",\"resourceVersion\":\"26146\"},
          \"reason\": \"LeaderElection\"}\n2026-06-23T19:39:32Z\tERROR\tsetup\tError
          starting manager\t{\"error\": \"problem running manager: leader election
          lost\"}\nmain.main\n\t/workspace/cmd/manager/main.go:121\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:272\n"
        reason: Error
        startedAt: "2026-06-23T19:34:57Z"
    name: manager
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-06-23T19:40:07Z"
  hostIP: 199.19.213.10
  phase: Running
  podIP: 10.0.0.179
  podIPs:
  - ip: 10.0.0.179
  qosClass: Burstable
  startTime: "2026-06-23T19:34:54Z"
