I want to specify resource request of each specific resource type for all pods. for example, resource request for CPU. How can I calculate it in go programming?
The exact amount of request
and limit
is difficult to tune without benchmarking your application. You can consider running some profiling tools on your go application to figure out the steady-state memory and CPU usage. You should specify the request
amount with your this steady-state usage + some margin of error.
Hope this helps!