Percona Live: Data Performance Conference 2016 Logo

April 18-21, 2016

Santa Clara, California

Running a Galera Cluster in Kubernetes

Running a Galera Cluster in Kubernetes

 20 April 04:30 PM - 05:20 PM @ Ballroom A
Experience level: 
Intermediate
Duration: 
50 minutes conference
Tracks:
Architecture/Design
Topics:
MySQL
Docker

Description

Kubernetes is an open-source system for managing containerized applications across multiple hosts in a cluster. Kubernetes provides mechanisms for application deployment, scheduling, updating, maintenance, and scaling. Kubernetes has the concept of pods— one or more cooperative containers running on a given host. For running Galera, the need is to run each cluster node on a different host for good distribution, and to do so, a single-container pod is created for each node. Additionally, there needs to be a way to proxy a MySQL client connection to the cluster for application connectivity and failover. This talk will show how well Kubernetes is suited for running MySQL and specifically Galera. It will also show in addition to Kubernetes proxy, it’s also possible to run an HA Proxy service to connect to the Galera cluster. This talk will also cover how this cluster is built on top of Debian using Ansible. A demonstration of building and using the cluster will be given. * recently contributed applicaiton by speaker: https://github.com/kubernetes/kubernetes/tree/master/examples/mysql-galera

Speakers

Patrick Galbraith's picture

Patrick Galbraith

Senior Systems Engineer, Hewlett Packard

Biography:

Patrick Galbraith is a principal engineer at HP in the Advanced Technology Group. He is the author or two books: “Developing Web Applications with Apache, MySQL, memcached, and Perl” (Wiley) “Expert PHP and MySQL” (Wiley) In his “spare time”, he also maintains DBD::mysql, DBD::drizzle, FederatedX storage engine and the Memcached Functions for MySQL as well as tinkering with various other OpenSource and OpenStack projects. Patrick lives up in the sticks of New Hampshire with his wife Ruth and son Kiran, daughter Sara, lots of trees and rocks, as well as his Kubota tractor.

Share this talk


Slides