Measuring the Actual Memory and CPU Consumption
Explore how to measure actual memory and CPU consumption in Kubernetes clusters using Metrics Server. Understand the importance of accurate resource allocation to avoid overestimating requests and limits, which can lead to inefficient scheduling and resource wastage. This lesson guides you through retrieving and interpreting resource metrics to better manage cluster resources.
We'll cover the following...
We'll cover the following...
Exploring the options
How did we come up with the current memory and CPU values? Why did we set the memory of the Mongo image to 100Mi? Why not 50Mi or 1Gi? It is embarrassing to admit that the values we have right now are random. We guessed that the containers based on the vfarcic/go-demo-2 image require fewer resources than the Mongo image, so their values are ...