Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Kubernetes Cost Optimization with KEDA

Kubernetes Cost Optimization with KEDA

Arek Borucki

October 30, 2022
Tweet

More Decks by Arek Borucki

Other Decks in Technology

Transcript

  1. Autoscaling • Dynamically adjust resources • Reduce Kubernetes Costs •

    K8s built-in autoscaling mechanisms 1. HPA - increase or decrease replicas 2. Cluster autoscaling 3. VPA - Recommender
  2. KEDA • Kubernetes Event Driven Autoscaling • CNCF incubation project

    • scaling containers based on the trigger • allows scaling to/from zero • K8s operator - add into any K8s cluster • KEDA works alongside with HPA
  3. CRD

  4. SUMMARY • Autoscaling significant reduce cost! • HPA, VPA, Cluster

    Autoscaler • KEDA can use custom metrics for a specific event source. • Create an index on query pattern SUMMARY • Autoscaling reduces cost • HPA, VPA, Cluster Autoscaler • KEDA uses custom metrics for a specific event source • KEDA is pro-active and dynamic • Create an index on query pattern
  5. SUMMARY • Autoscaling significant reduce cost! • HPA, VPA, Cluster

    Autoscaler • KEDA can use custom metrics for a specific event source. • Create an index on query pattern SUMMARY • Autoscaling significant reduce cost! • HPA, VPA, Cluster Autoscaler • KEDA use custom metrics for a specific event source. • KEDA is pro-active and dynamic • Create an index on query pattern THANK YOU