Skip to Content
Hands-On Microservices with Kubernetes
book

Hands-On Microservices with Kubernetes

by Gigi Sayfan
July 2019
Intermediate to advanced
502 pages
14h
English
Packt Publishing
Content preview from Hands-On Microservices with Kubernetes

Units for requests and limits

You can use the following suffixes for memory requests and limits: E, P, T, G, M, and K. You can also use the power of two suffixes (which are always a little larger), that is, Ei, Pi, Ti, Gi, Mi, and Ki. You can also just use integers, including the exponent notation for bytes.

The following are approximately the same: 257,988,979, 258e6, 258M, and 246Mi. CPU units are relative to the hosting environment, as follows:

  • 1 AWS vCPU
  • 1 GCP Core
  • 1 Azure vCore
  • 1 IBM vCPU
  • 1 hyperthread on a bare-metal Intel processor with hyperthreading

You can request CPU in fractions of resolutions of 0.001. A more convenient method is to use milliCPU and just integers with the m suffix; for example, 100 m is 0.1 CPU.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Kubernetes Microservices

Kubernetes Microservices

Richard Chesterwood
Cloud Native DevOps with Kubernetes

Cloud Native DevOps with Kubernetes

John Arundel, Justin Domingus
Microservices: Up and Running

Microservices: Up and Running

Ronnie Mitra, Irakli Nadareishvili

Publisher Resources

ISBN: 9781789805468Supplemental Content