The basics
- Label every workload with team, service and environment, and enforce it at admission.
- Attribute cost by the resources each pod requests, and compare it to what it actually uses.
- Share the cost of common services, such as the control plane and ingress, by an agreed rule.
The pitfalls
- Unlabelled workloads pile up in an “unallocated” bucket.
- Requests set far above real use waste capacity for everyone.
- Idle capacity has to belong to someone.
Use the numbers
- Show each team its own cost.
- Flag the largest gaps between requested and used resources.
- Set requests from measured use.
- Review after each change.
Sources and further reading
- Kubernetes documentation. Resource management for pods and containers. kubernetes.io/docs.
IICTP is a new independent credential and is not ISO/IEC 17024 accredited.