Building a Kubernetes Autoscaler w/ Spring Boot and Groovy

*
Proposal
Short Form
Intermediate

Excerpt

When preparing for a different talk, Ray couldn't find any existing autoscaler for Kubernetes to automatically scale up/down the number of pods using custom metrics. Ray had never written an autoscaler before - but it sounded like a lot of fun! Join this talk to learn about Kubernetes, and Ray's journey in writing a custom metrics collector and an autoscaler using Spring Boot, Groovy, containerized it, and deployed Kubernetes.

Description

When preparing for a different talk, Ray couldn’t find any existing autoscaler for Kubernetes to automatically scale up/down the number of pods using custom metrics. Ray had never written an autoscaler before – but it sounded like a lot of fun! Join this talk to learn about Kubernetes, and Ray’s journey in writing a custom metrics collector and an autoscaler using Spring Boot, Groovy, containerized it, and deployed Kubernetes.

This session will take a deeper look into the Kubernetes API beyond the command lines, including basic API access, authentication and security, as well as receiving streaming updates via the watch API. The custom metrics collector and the autoscaler themselves were microservices written with Spring Boot and Groovy. Finally, the custom metrics themselves were collected by JMXTrans, translating JMX metrics into actionable metrics for the autoscaler.

Tags

Spring, microservice, kubernetes, Docker, container, Groovy, infinispan, api

Speaking experience

Ray started speaking and leading labs since 2013, including:
JUDCon 2013, Red Hat Summit 2013, Web Summit 2014, Devoxx Antwerp, CodeMotion Tel-Aviv 2014.

Ray is scheduled to speak at Devoxx France 2015, and Spring I/O 2015.

Speaker

  • Ray Tsang

    Google

    Biography

    Ray is a Developer Advocate for the Google Cloud Platform. Ray had extensive hands on cross-industry enterprise systems integration delivery and management experiences during his time at Accenture, managed full stack application development, DevOps, and ITOps. Ray specialized in middleware, big data, and PaaS products during his time at RedHat while contributing to open source projects, such as Infinispan. Aside from technology, Ray enjoys traveling and adventures.