Resource Management and Governance

Resource Management and Governance An architecture diagram generated by Archify. Resource Management and Governance · EKS cost control · Architecture component Resource Management and Governance EKS cost control Resource Requests and Limits Optimization · Requests and Limits Resource Requests and Limits Optimization Set Appropriate Resource Requests · requests · use VPA · Requests and Limits Set Appropriate Resource Requests requests · use VPA Set Resource Limits · CPU · memory limits · Requests and Limits Set Resource Limits CPU · memory limits Namespaces and Resource Quotas · Namespaces and Quotas Namespaces and Resource Quotas Namespace-based Separation · per team · env · app · Namespaces and Quotas Namespace-based Separation per team · env · app Set Resource Quotas · ResourceQuota · Namespaces and Quotas Set Resource Quotas ResourceQuota Set LimitRange · default container limits · Namespaces and Quotas Set LimitRange default container limits Cost Allocation and Tagging · Cost Allocation Cost Allocation and Tagging Resource Tagging · AWS cost allocation tags · Cost Allocation Resource Tagging AWS cost allocation tags Kubernetes Labels and Annotations · labels · annotations · Cost Allocation Kubernetes Labels and Annotations labels · annotations Using Kubecost · cost visibility · Cost Allocation Using Kubecost cost visibility Requests and Limits Namespaces and Quotas Cost Allocation Legend K8s settings AWS resource Governance area Third-party tool

Understanding QoS Classes

  • • Guaranteed: request = limit (highest priority)
  • • Burstable: request < limit
  • • BestEffort: no request and limit (lowest priority)
  • • Under resource pressure, BestEffort pods are evicted first, then Burstable