Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context CRD apply fail due the cpu requests (4 cores) on the staging environment #31

Closed
metacoma opened this issue May 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@metacoma
Copy link
Contributor

After

$ kubectl apply -f resources/context.yaml

kafka-source-dispatcher-0 and neo4 requires 1 cpu core

$ kubectl describe node
...
 knative-eventing            kafka-source-dispatcher-0                                    1 (25%)       2 (50%)     700Mi (2%)       1000Mi (3%)    7m44s
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests      Limits
  --------           --------      ------
  cpu                3820m (95%)   10100m (252%)
  memory             7822Mi (24%)  11490Mi (35%)
  ephemeral-storage  0 (0%)        0 (0%)
  hugepages-2Mi      0 (0%)        0 (0%)
$ kubectl -n context-team-a get pods
NAME             READY   STATUS    RESTARTS   AGE
team-a-neo4j-0   0/1     Pending   0          12m
$ kubectl -n context-team-a describe pod team-a-neo4j-0
  Warning  FailedScheduling  12m                default-scheduler  0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.
  Warning  FailedScheduling  11m (x2 over 11m)  default-scheduler  0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.
@metacoma metacoma added the bug Something isn't working label May 31, 2024
@metacoma metacoma self-assigned this May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant