-
Bug
-
Resolution: Done
-
Blocker
-
None
-
1
-
False
-
-
True
-
-
Bug Fix
-
Proposed
-
-
-
RHDH Core Team 3256
Description of problem:
i'm trying to use the operator to spawn DH instance on a ROSA 4.15 cluster. The UI pod does not start and I see the following issue in `Events` : `0/2 nodes are available: 2 Insufficient cpu. preemption: 0/2 nodes are available: 2 No preemption victims found for incoming pod..`. I looked at the Deployment, and see that while the containers have limits, they do not have requests.
The cluster has 8 CPU. I install the gitops and pipeline operators. The overview reports about 6.7 of available CPU.
I install the developer-hub operator and create a backstage instance. There's still more than 6 CPU available reported in the Overview console page. Yet the pod isn't scheduled.
Adding the following `requests` field to the `deployment.yaml` of `backstage-default-config` for both containers fixes the issue.
```
requests:
cpu: 125m
memory: 128Mi
```
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Get a ROSA cluster via clusterbot
- install the GitOps and Pipelines operators
- Install the Developer Hub operator
- Create a new backstage instace
Actual results:
- UI pod is created but is not scheduled, stays in `Pending` status.
Expected results:
- UI pod is in `Running` status.
Reproducibility (Always/Intermittent/Only Once):
Always