How do you reduce image pull times and registry cost?
IntermediateProductionAutoscaling, Capacity & Cost
Answer
Slim images (distroless or Alpine), multi-stage builds, layer ordering, pre-pulled/golden AMIs for large images, ECR pull-through cache, IfNotPresent, Spegel or Kraken peer-to-peer distribution, and image streaming (such as SOCI on EKS) for big images. Faster pulls shorten autoscaling reaction time as well as deploys.
More on Autoscaling, Capacity & Cost
How do you right-size requests and limits?BeginnerWhy does HPA need accurate CPU requests?BeginnerWhat are Spot instances good for on Kubernetes?BeginnerHow do you reduce Kubernetes cost quickly?BeginnerWhat is metrics-server and what does it not do?BeginnerWhat is a good default for the node size and why?Beginner