Abstract
One way of looking at Kubernetes is that it is all about convenience. Considering you are using an operator, you can easily and quickly deploy a new database environment in the cloud that is highly available and comes pre-configured with backups. But do we get the same performance from our database compared to running it in the same cloud but without Kubernetes? After all, the latter implies using containers on top of an already virtualized environment, over which we have less control.
To gain a better understanding of the level of overhead imposed by the Kubernetes layer, I experimented with running Sysbench’s OLTP and TPC-C read-write workloads on a MySQL environment deployed directly on cloud instances. I then repeated the same tests on a Kubernetes-based environment using the same cloud instances and persistent storage. This talk presents the results of these tests conducted on two different cloud providers in two distinct scenarios: one in which the dataset fits in the database cache and another in which it does not.
Although the primary goal of these experiments was to address the overhead question for these controlled environments and workloads, this talk also provides insight into what it looks like to run databases on Kubernetes.




