<p>Fairly new to kubernetes, I have a question about setting <code>limits</code> and <code>requests</code> in regards to <code>CPU</code> and <code>Memory</code>. If I have a few applications in my cluster but none of these applications are in production how do I determine the correct way to set the <code>limits</code> and <code>requests</code> for the applications in the cluster with know prior data.</p>
<p>I tried the <code>kubectl top pods -n &lt;namespace&gt;</code> but this only gave me the current usage, wondering if anyone had any suggestions of a logical way to set the <code>limits</code> and <code>requests</code>?</p>

Ice432
<p>To determine request and limits, you can try the vertical pod autoscaler : <a href="https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler" rel="nofollow noreferrer">https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler</a></p>
<p>You have two main modes :</p>
<ul>
<li><code>off</code> : give informations about request and limits during the pod life.</li>
<li><code>recreate</code> : recreate the pod with new request and limits (when needed)</li>
</ul>
