Kubernetes resources
I find my self explaining how I approach setting Kuberentes resources over and over again, and I always struggle rediscovering the good references. So this post serves as a reminder for my self and hopefully it can also help you. I always recommend this 3 part post by Shon Lev-Ran
- Kubernetes resources under the hood part 1 (9 min read)
- Kubernetes resources under the hood part 2 (7 min read)
- Kubernetes resources under the hood part 3 (9 min read)
But to make it real easy. I always set resource using the following guidelines
- Only set resources request for CPU and never set CPU limit.
- Always set resource request and limit for memory and make sure they are equal.