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

[Question]: K8sgpt CRD cannot set resource limit memory #1277

Open
3 of 4 tasks
dung2k1deptrai opened this issue Oct 15, 2024 · 3 comments
Open
3 of 4 tasks

[Question]: K8sgpt CRD cannot set resource limit memory #1277

dung2k1deptrai opened this issue Oct 15, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@dung2k1deptrai
Copy link

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

No response

Kubernetes Version

No response

Host OS and its Version

No response

Steps to reproduce

When I create K8sgpt resource CRD in openshift OKD, pod always crash with OOM killed

Expected behaviour

I set resource request to increase memory in Deployment but it always set as default like this:
- resources:
limits:
cpu: '1'
memory: 512Mi
requests:
cpu: 200m
memory: 156Mi
I see that deployment managed by CRD but i couldn't see any field to declare resource limit in that.

Actual behaviour

No response

Additional Information

No response

@AlexsJones
Copy link
Member

To clarify - the ask here is to enable the K8sGPT CR to control the resource constraints of the deployment? This seems pretty sensible.

@AlexsJones AlexsJones added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Oct 24, 2024
@dung2k1deptrai1
Copy link

To clarify - the ask here is to enable the K8sGPT CR to control the resource constraints of the deployment? This seems pretty sensible.

This is exactly I wanted right now

@vivekk16
Copy link

Hi @AlexsJones

I'm interested in contributing to this issue. Could you provide guidance on how to get started?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: Proposed
Development

No branches or pull requests

4 participants