Skip to content

Stream ReplicaSet events (e.g. Kubernetes quota breached) #3

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

Closed
bpmct opened this issue Jul 5, 2023 · 2 comments · Fixed by #4
Closed

Stream ReplicaSet events (e.g. Kubernetes quota breached) #3

bpmct opened this issue Jul 5, 2023 · 2 comments · Fixed by #4
Assignees

Comments

@bpmct
Copy link
Member

bpmct commented Jul 5, 2023

When I exceed a Kubernetes quota, the error is on the ReplicaSet, not the deployment or pod:

  Warning  FailedCreate  46s (x6 over 2m5s)  replicaset-controller  (combined from similar events): Error creating: pods "coder-benzo-my-workspace-6df987574-ffvcc" is forbidden: exceeded quota: my-quota, requested: limits.cpu=6,limits.memory=4Gi,requests.memory=512Mi, used: limits.cpu=8,limits.memory=8Gi,requests.memory=1792Mi, limited: limits.cpu=2,limits.memory=2Gi,requests.memory=2Gi

In the Coder UI, the workspace seems like it is hanging forever. No events are streamed

@kylecarbs
Copy link
Member

I'll add support for this!

@kylecarbs kylecarbs self-assigned this Jul 5, 2023
@kylecarbs
Copy link
Member

Uploading image.png…

kylecarbs added a commit that referenced this issue Jul 6, 2023
* feat: add support for logging events from ReplicaSets

Fixes #3

* Fix replicaset tests event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants