Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recommend setting `spec.containers[].resources.limits.memory` and `spec.containers[].resources.requests.memory` to the same value as a best practice. @kunisen
- Loading branch information
842bbca
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ppf2 for the filing!
We also have this k8s best practice documented in our ECK doc below:
https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-managing-compute-resources.html
But I actually don't see it's defined in the example request
kubectl patch sts elastic-operator -n elastic-system -p '{"spec":{"template":{"spec":{"containers":[{"name":"manager", "resources":{"limits":{"memory":"2Gi"}}}]}}}}'
.May I ask your opinion to see if we should also explicitly set that for the operator too, please? @pebrc