GKE Cost Optimization with Kaslin Fields and Anthony Bushong

This week on the podcast, fellow Googlers Kaslin Fields and Anthony Bushong chat with hosts Mark Mirchandani and Stephanie Wong about how to optimize your spending with Google Kubernetes Engine. 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 Interview Kubernetes site GKE site Best practices for running cost-optimized Kubernetes applications on GKE docs Docker site Autopilot overview docs Namespaces docs Kubernetes best practices: Organizing with Namespaces blog Optimize cost to performance on Google Kubernetes Engine video Using node auto-provisioning docs Scaling workloads across multiple dimensions in GKE blog Enabling GKE usage metering docs Kubernetes in Google Cloud Qwiklabs site Kubernetes Engine Qwiklabs site Cloud Operations for GKE Qwiklabs site Earn the new Google Kubernetes Engine skill badge for free blog Beyond Your Bill videos Cloud On Air Webinar: Hands-on Lab: Optimizing Your Costs on Google Kubernetes Engine site Cloud OnBoard site Adopting Kubernetes with Spotify video

Om Podcasten

The Google Cloud Platform Podcast, coming to you every week. Discussing everything on Google Cloud Platform from App Engine to BigQuery.