Specify each resource type request in kubernetes?

4/9/2019

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?

-- HamiBU
kubernetes

1 Answer

4/9/2019

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!

-- Frank Yucheng Gu
Source: StackOverflow