apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubectl.kubernetes.io/default-container: manager
  creationTimestamp: "2026-07-24T00:45:23Z"
  generateName: orc-controller-manager-6cb597b5d4-
  labels:
    control-plane: controller-manager
    pod-template-hash: 6cb597b5d4
  name: orc-controller-manager-6cb597b5d4-bmdfw
  namespace: orc-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: orc-controller-manager-6cb597b5d4
    uid: a83940e3-084e-46d8-9ca2-1f50b12f9797
  resourceVersion: "27427"
  uid: ee828fd2-764a-49a4-be11-5b2484d62119
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-rb4tm
      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-rb4tm
    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-24T00:45:23Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-07-24T00:54:34Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-07-24T00:54:34Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-07-24T00:45:23Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://d7e69031c3cea8f72863800b9389269d779f0fbbaea27b1954d48ece4c42d916
    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://06b178311b79003e7688328c831c05afa698c50914777726edfe1f415803ee42
        exitCode: 1
        finishedAt: "2026-07-24T00:54:25Z"
        message: ": 1}\n2026-07-24T00:52:27Z\tINFO\tStarting Controller\t{\"controller\":
          \"credentials_deletion_guard_for_flavor\", \"controllerGroup\": \"\", \"controllerKind\":
          \"Secret\"}\n2026-07-24T00:52:27Z\tINFO\tStarting workers\t{\"controller\":
          \"credentials_deletion_guard_for_flavor\", \"controllerGroup\": \"\", \"controllerKind\":
          \"Secret\", \"worker count\": 1}\n2026-07-24T00:52:27Z\tINFO\tStarting Controller\t{\"controller\":
          \"floatingip\", \"controllerGroup\": \"openstack.k-orc.cloud\", \"controllerKind\":
          \"FloatingIP\"}\n2026-07-24T00:52:27Z\tINFO\tStarting workers\t{\"controller\":
          \"floatingip\", \"controllerGroup\": \"openstack.k-orc.cloud\", \"controllerKind\":
          \"FloatingIP\", \"worker count\": 1}\nE0724 00:53:31.143750       1 leaderelection.go:429]
          Failed to update lock optimistically: Put \"https://10.96.0.1:443/apis/coordination.k8s.io/v1/namespaces/orc-system/leases/f35396c5.k-orc.cloud?timeout=5s\":
          net/http: request canceled (Client.Timeout exceeded while awaiting headers),
          falling back to slow path\nE0724 00:53:36.143138       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\nI0724 00:53:36.143208       1 leaderelection.go:297]
          failed to renew lease orc-system/f35396c5.k-orc.cloud: context deadline
          exceeded\n2026-07-24T00:53:40Z\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\n2026-07-24T00:53:40Z\tDEBUG\tevents\torc-controller-manager-6cb597b5d4-bmdfw_c350b331-5e2a-48be-bb60-66c9332cfdf1
          stopped leading\t{\"type\": \"Normal\", \"object\": {\"kind\":\"Lease\",\"namespace\":\"orc-system\",\"name\":\"f35396c5.k-orc.cloud\",\"uid\":\"174a9b10-6379-4c4a-80f8-9b413bebd8b2\",\"apiVersion\":\"coordination.k8s.io/v1\",\"resourceVersion\":\"27274\"},
          \"reason\": \"LeaderElection\"}\n2026-07-24T00:53:40Z\tINFO\tStopping and
          waiting for non leader election runnables\n2026-07-24T00:53:40Z\tINFO\tStopping
          and waiting for leader election runnables\n"
        reason: Error
        startedAt: "2026-07-24T00:51:30Z"
    name: manager
    ready: true
    restartCount: 2
    started: true
    state:
      running:
        startedAt: "2026-07-24T00:54:28Z"
  hostIP: 199.204.45.22
  phase: Running
  podIP: 10.0.0.153
  podIPs:
  - ip: 10.0.0.153
  qosClass: Burstable
  startTime: "2026-07-24T00:45:23Z"
