<p>We run 8 microservices on k8s and i'd like to learn how to define what resource limits to use for my pods. This isn't that big of an issue when running on our cloud platform but I do like to test it locally as well.</p>

<p>Currently, i'll just guess and allocate, sometimes i'll check how much they're consuming once they're running using <code>kubectl describe nodes</code></p>

<p>Is there a better way to determine the resources a particular application will need?</p>

Panda
<ol>
<li>You may try <a href="https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler" rel="nofollow noreferrer">Vertical Pod Autoscaler</a>. It was created to address the same issue you have.</li>
<li>You should also have some fancy graphs using Prometheus + Grafana. Graphs describe pods resource requests and limits as well as how much resources you have free in your cluster. Looking at "kubectl describe nodes" is not cool at all. You may find very good starting point here: <a href="https://github.com/coreos/kube-prometheus" rel="nofollow noreferrer">https://github.com/coreos/kube-prometheus</a></li>
</ol>
