19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 10 ■ Configuring Compute Resources

Initially the pods may be not running or Ready. List the pods after a minute, and all the pods should be

running. Each pod is scheduled on a different node, as shown in Figure 10-9.

Figure 10-9. Each pod is scheduled on a different node

Describe a node to find the resource consumption on the node, as shown in Figure 10-10. Only one pod

is running on the node. The CPU and Memory Requests and Limits for each pod in the default namespace

are listed. The MySQL pod CPU request of 250m and CPU Limit of 500m and Memory Request of 64Mi and

Memory Limit of 128 Mi are listed. The allocated CPU and Memory Requests and Limits are also listed.

Allocated CPU and Memory requests are less than the limits, which is the desired level.

Figure 10-10. CPU and memory requests and limits on a schedulable node

247

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!