Skip to content
0:00 / 0:00

#kubernetes#loadtesting#buffer

Load Testing Kubernetes: How to Optimize Your Cluster Resource Allocation in Production

CNCF [Cloud Native Computing Foundation]

141K subscribers • 49 videos on Hallway • Conference channel

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • Presented by Harrison Harnisch, Buffer
  • May be out of date. Uploaded 8 years ago, in an area where tools change fast.

Intermediate. Assumes working knowledge.

4.7K views8 years ago1 recommendation

Cloud and DevOpsSystems programmingKubernetesDocker and containersPerformance and optimization

Harrison Harnisch explains how Buffer uses load testing to identify optimal resource limits and requests for Kubernetes services in production.

Load Testing Kubernetes: How to Optimize Your Cluster Resource Allocation in Production - 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 Etcd 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 kubecon.io. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy and all of the other CNCF-hosted projects.

Why it's here

1 person recommends this

What people say. Recommended as a practical guide to refining Kubernetes resource limits through systematic load testing.

whites11on Stack Overflow • Recommends

On “Calculating memory requests and limits in Kubernetes”

There is no magic trick for calculating limits. You need to start with reasonable limits and refine using trial and error. I can suggest a video from YouTube that explains quite well a method to refine your limits: link to this video Basically it suggests to start with low limits and load test your application (one pod instance) until it breaks. Than, raise the limits and load test again until you find good values.