apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubectl.kubernetes.io/default-container: manager
  creationTimestamp: "2026-05-09T13:47:06Z"
  generateName: orc-controller-manager-b56d5d966-
  labels:
    control-plane: controller-manager
    pod-template-hash: b56d5d966
  name: orc-controller-manager-b56d5d966-l66cr
  namespace: orc-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: orc-controller-manager-b56d5d966
    uid: cd5a5ac1-4cb2-4544-9062-30cccea4f735
  resourceVersion: "27403"
  uid: 3bbb7f9e-03ad-4bef-8672-cddb23ebd7e9
spec:
  containers:
  - args:
    - --metrics-bind-address=:8443
    - --leader-elect
    - --health-probe-bind-address=:8081
    command:
    - /manager
    image: 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-5mc54
      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-5mc54
    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-09T13:47:06Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-09T13:54:36Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-09T13:54:36Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-09T13:47:06Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://005934036257b667883835f4757444f5b1802df5b21437c4a909f549bb5cff5f
    image: quay.io/orc/openstack-resource-controller:v2.2.0
    imageID: quay.io/orc/openstack-resource-controller@sha256:e3c51b1c3048c3f8c2856a6327810981fd4624602091021c4d310092c85e247c
    lastState:
      terminated:
        containerID: containerd://d94c09b55d1c392d2de6bcaef822b48530662545095c3a9ff18ba4dcd1094071
        exitCode: 1
        finishedAt: "2026-05-09T13:54:09Z"
        message: "enstack.k-orc.cloud\", \"controllerKind\": \"Project\"}\n2026-05-09T13:53:35Z\tINFO\tAll
          workers finished\t{\"controller\": \"router\", \"controllerGroup\": \"openstack.k-orc.cloud\",
          \"controllerKind\": \"Router\"}\n2026-05-09T13:53:35Z\tINFO\tAll workers
          finished\t{\"controller\": \"network_deletion_guard_for_port\", \"controllerGroup\":
          \"openstack.k-orc.cloud\", \"controllerKind\": \"Network\"}\n2026-05-09T13:53:35Z\tINFO\tAll
          workers finished\t{\"controller\": \"port\", \"controllerGroup\": \"openstack.k-orc.cloud\",
          \"controllerKind\": \"Port\"}\n2026-05-09T13:53:35Z\tINFO\tAll workers finished\t{\"controller\":
          \"network_deletion_guard_for_router\", \"controllerGroup\": \"openstack.k-orc.cloud\",
          \"controllerKind\": \"Network\"}\n2026-05-09T13:53:35Z\tINFO\tAll workers
          finished\t{\"controller\": \"subnet_deletion_guard_for_routerinterface\",
          \"controllerGroup\": \"openstack.k-orc.cloud\", \"controllerKind\": \"Subnet\"}\n2026-05-09T13:53:35Z\tINFO\tAll
          workers finished\t{\"controller\": \"securitygroup\", \"controllerGroup\":
          \"openstack.k-orc.cloud\", \"controllerKind\": \"SecurityGroup\"}\n2026-05-09T13:53:35Z\tINFO\tAll
          workers finished\t{\"controller\": \"securitygroup_deletion_guard_for_port\",
          \"controllerGroup\": \"openstack.k-orc.cloud\", \"controllerKind\": \"SecurityGroup\"}\n2026-05-09T13:53:35Z\tINFO\tAll
          workers finished\t{\"controller\": \"routerinterface\", \"controllerGroup\":
          \"openstack.k-orc.cloud\", \"controllerKind\": \"Router\"}\n2026-05-09T13:53:35Z\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-05-09T13:53:35Z\tINFO\tAll
          workers finished\t{\"controller\": \"credentials_deletion_guard_for_servergroup\",
          \"controllerGroup\": \"\", \"controllerKind\": \"Secret\"}\n2026-05-09T13:53:35Z\tINFO\tAll
          workers finished\t{\"controller\": \"credentials_deletion_guard_for_project\",
          \"controllerGroup\": \"\", \"controllerKind\": \"Secret\"}\n2026-05-09T13:53:35Z\tINFO\tAll
          workers finished\t{\"controller\": \"network_deletion_guard_for_subnet\",
          \"controllerGroup\": \"openstack.k-orc.cloud\", \"controllerKind\": \"Network\"}\n"
        reason: Error
        startedAt: "2026-05-09T13:52:46Z"
    name: manager
    ready: true
    restartCount: 2
    started: true
    state:
      running:
        startedAt: "2026-05-09T13:54:26Z"
  hostIP: 199.204.45.242
  phase: Running
  podIP: 10.0.0.170
  podIPs:
  - ip: 10.0.0.170
  qosClass: Burstable
  startTime: "2026-05-09T13:47:06Z"
