youtube image
From YouTube: Load Testing Kubernetes: How to Optimize Your Cluster Resource Allocation in Production [I]

Description

Load Testing Kubernetes: How to Optimize Your Cluster Resource Allocation in Production [I] - Harrison Harnisch, Buffer

So you've carefully crafted your first Kubernetes service, and you're ready to deploy it to production. Well, not quite: there are still some important unknowns to understand before your service will be ready for production traffic. It's still unclear how the new service behaves when it's being pushed, and it's possible that Kubernetes will kill the service before serving a single request. At Buffer, we've developed a technique to optimize Kubernetes deployment limits by using load testing to identify optimal values for resource limits. When the service is under heavy load there are a few key metrics to watch to identify bottlenecks. These key metrics can be used to adjust resource limits. This real world approach allowed us to safely and efficiently switch over more than half our production traffic to our Kubernetes cluster and can be applied to any application.

This talk will include a live demo of how to tune Hashicorp's Consul application using methods we do at Buffer.

About Harrison Harnisch
Senior Software Engineer at Buffer, implementing the transition to microservices with Kubernetes and Docker.
Join us for KubeCon + CloudNativeCon in Barcelona May 20 - 23, Shanghai June 24 - 26, and San Diego November 18 - 21! Learn more at https://kubecon.io. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy and all of the other CNCF-hosted projects.