Cost optimization doesn’t necessarily mean lower costs, Kaslin explains. It means running your application the best possible way and accommodating things like traffic spikes while keeping costs as low as possible. As our guests tell us, standard best practices can aid in optimization, but when it comes to efficiently running on a budget, there are more tips and tricks available in GKE. One of GKE’s newest operation modes, Autopilot, means Kubernetes nodes are now managed by Google. Customers pay by the pod so the focus can be on the application rather than the details of clusters and their optimization. Best practices for resource utilization and autoscaling are included with Autopilot.
Kaslin and Anthony break up Google’s GKE cost optimization tips into four categories: multi-tenancy, autoscaling, infrastructure choice, and workload best practices and tell us how company culture effects these decisions. Proper education around Kubernetes and GKE specifically is the first step to using resources the most efficiently, Anthony tells us. Keeping tenants separate and resources well managed on multi-tenant clusters is made easier with Namespaces. Scaling pods and the infrastructure around them is an important part of optimization as well, and Anthony helps us understand the best practices for fine tuning the autoscaling features in GKE. Scaling infrastructure to handle spikes or lulls is an automatic feature with Autopilot, helping projects run smoothly. To control workloads efficiency, GKE now offers a host of features, including horizontal, vertical, and multidimensional pod autoscaling.
Later, we walk through the steps for implementing some of these optimizations decisions while keeping your application running. GKE Usage Metering is a useful tool for measuring tenant usage in a cluster so resource distribution can be managed easier.
Kaslin Fields
Kaslin is a Developer Advocate at Google Cloud where she focuses on Google Kubernetes Engine.
Anthony Bushong
Anthony is a Specialist Customer Engineer at Google Cloud, where he focuses on Kubernetes.
Cool things of the week
A2 VMs now GA—the largest GPU cloud instances with NVIDIA A100 GPUs blog
How carbon-free is your cloud? New data lets you know blog
Our third decade of climate action: Realizing a carbon-free future blog
Podden och tillhörande omslagsbild på den här sidan tillhör Google Cloud Platform. Innehållet i podden är skapat av Google Cloud Platform och inte av, eller tillsammans med, Poddtoppen.