Kubernetes
size definitions
Gi vs G
computing units
Kubernetes storage
Kubernetes size definitions What's the difference of Gi and G?
System Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.
| Unit | Prefix Type | Bytes Equivalent | Kubernetes Notation |
| Gi | Binary | 1,073,741,824 bytes | 2Gi |
| G | Decimal | 1,000,000,000 bytes | 2G |
| Mi | Binary | 1,048,576 bytes | 1Mi |
| M | Decimal | 1,000,000 bytes | 1M |
| Ki | Binary | 1,024 bytes | 1Ki |
| K | Decimal | 1,000 bytes | 1K |
Conclusion
Choosing between "Gi" and "G" in Kubernetes is more than just a matter of preference; it's a fundamental aspect of resource management. Understanding the distinction ensures accurate resource allocation and optimal application performance. Whether you're defining resource limits, making infrastructure decisions, or managing costs, recognizing these differences is essential for achieving the best outcomes in your Kubernetes deployments.
Related reading
- kubernetes slaves cannot register to jenkins master
- Kubernetes sort pods by age
- Kubernetes spread pods across nodes using podAntiAffinity vs topologySpreadConstraints
- Kubernetes StatefulSet pod startup error recovery
- Kubernetes stop CloudSQL-proxy sidecar container in multi container Pod/Job
- Kubernetes storageClass for Postgresql database
- Kubernetes support for Internal Load Balancers in AWS
- Kubernetes TLS Ingress route with cert-manager and SelfSigned ClusterIssuer not working
System design interview problems on this topic
- Design a Container Orchestration System: solution and walkthrough
- Design a Code Deployment System: solution and walkthrough
- Design a Task Scheduler: solution and walkthrough
- Design a GPU Cluster Scheduler for ML Training: solution and walkthrough

Course
Beginner
27 lessons
10 hours
System Design Fundamentals
Build a strong foundation in designing scalable, reliable distributed systems.
View the courseSystem Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.