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

some containers need resource request specified for Kubernetes #539

Closed
mmguero opened this issue Aug 12, 2024 · 1 comment
Closed

some containers need resource request specified for Kubernetes #539

mmguero opened this issue Aug 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working cloud Relating to deployment of Malcolm in the cloud and/or with Kubernetes performance Related to speed/performance
Milestone

Comments

@mmguero
Copy link
Collaborator

mmguero commented Aug 12, 2024

See resource management for kubernetes

At the very least, the OpenSearch and Logstash containers should be populated at runtime to give resource requests for memory at least as much as the user specified during configuration, so assure those containers don't get assigned to nodes with less than that amount of memory.

@mmguero mmguero added bug Something isn't working performance Related to speed/performance cloud Relating to deployment of Malcolm in the cloud and/or with Kubernetes labels Aug 12, 2024
@mmguero mmguero added this to the v24.08.0 milestone Aug 12, 2024
@mmguero mmguero self-assigned this Aug 12, 2024
mmguero added a commit to mmguero-dev/Malcolm that referenced this issue Aug 13, 2024
… Kubernetes. parse out opensearch and logstash JAVA_OPTS and create kubernetes resource requests for memory basedon those values to ensure those containers don't start on pods with insufficient memory
@mmguero mmguero closed this as completed Aug 13, 2024
@mmguero
Copy link
Collaborator Author

mmguero commented Aug 13, 2024

testing the change, here's the output of kubectl describe pod for opensearch and logstash after the change with my system's current values:

...
Containers:
  logstash-container:
...
    State:          Running
      Started:      Tue, 13 Aug 2024 11:06:00 -0600
    Ready:          True
    Restart Count:  0
    Requests:
      memory:  3Gi
...
...
Containers:
  opensearch-container:
...
    State:          Running
      Started:      Tue, 13 Aug 2024 11:06:00 -0600
    Ready:          True
    Restart Count:  0
    Requests:
      memory:  24Gi
...

And a non-modified container is behaving as expected.

This was referenced Aug 20, 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 cloud Relating to deployment of Malcolm in the cloud and/or with Kubernetes performance Related to speed/performance
Projects
Status: Released
Development

No branches or pull requests

1 participant