-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
jmymy
commented
Feb 26, 2020
- Adding in default resource limits for the helm chart to follow k8s best practices.
- Memcached should at least have a request block by default.
I am of opinion that setting default limits, although specified by Kubernetes, does more harm than good as the I also interpret the best practice as a user configuration best practice, and not a best practice for us as chart vendors. To me it (the best practice) would thus translate to: do not blindly apply a chart, but configure it to your needs. |
Setting CPU limits is not a Kubernetes best practice...
|
Fair enough.
If its configuration best practices and you are specifying the default generic values to get up and running, why wouldn't it include configuration best practices? Can we agree there should be at least the requests on for memcache? (even their helm chart has it on https://github.com/helm/charts/blob/master/stable/memcached/values.yaml) |
Because there is no 'recommended size', the size of the cache is highly dependent on the size of your cluster, which is something we have no knowledge about at all.
Setting the default requests as in the
There is no recommended memory limit for the Flux pod either as this also depends on how you are making use of Flux. When you make use of the |
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.
LGTM
Thanks @jmymy
Can you please squash the commits into a single one and rebase with master? Thanks |
Signed-off-by: Jonathan Meyers <[email protected]> uncomment by defualt memcached Signed-off-by: Jonathan Meyers <[email protected]> format