19.06.2021 Views

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 10 ■ Configuring Compute Resources

The cpu may be specified as fractions (for example 0.3) instead of absolute value, as shown in

Figure 10-14. A cpu value of 0.3 is 300m. The requests are equal to the limits in the example.

Figure 10-14. CPU specified as a fraction

Create the replication controller and list the pods. The three replicas are scheduled on three different

nodes. Scale the RC to six pods. The six pods are scheduled on the three nodes with two pods on each node,

as shown in Figure 10-15.

Figure 10-15. Two pods are scheduled on each node

250

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

Saved successfully!

Ooh no, something went wrong!