Fueling innovative software
July 15-18, 2019
Portland, OR

Cloud native database tutorial

Josh Berkus (Red Hat)
1:30pm5:00pm Monday, July 15, 2019
Secondary topics:  Cloud Native
Average rating: ***..
(3.70, 10 ratings)

Who is this presentation for?

  • Cloud systems administrators, database administrators, database application developers, and systems architects




Once, nobody ran a database on top of Kubernetes or OpenShift. Now everyone’s doing it, and you can too.

Josh Berkus walks you through deploying and managing two different databases so you can get a taste of cloud native database hosting. You’ll learn the fundamentals of running databases in a cloud native environment regardless of your database platform and some tools to use directly with your chosen databases. Josh explores the basics of hosting databases in the container cloud (when to do it, when not to, how
storage works, and the effects on performance) and leads you step by step through setting up and administering two different database platforms on Kubernetes. You’ll first deploy PostgreSQL using operators as an example of how the cloud can enable a legacy database system, then a newer distributed database created for the cloud, Etcd.


General considerations

  • Pros and cons
  • Storage options
  • Performance
  • New workflows


  • What is Postgres and when would you use it?
  • Manual or Helm-based deployment
  • Operator-based deployment
  • Automated high availability (HA) with Patroni
  • Configuration
  • Management
  • Application connections
  • Other options


  • What is Etcd and when would you use it?
  • Operator-based installation
  • Connecting to Etcd
  • Automated HA
  • Growing your pool

Future topics

  • Other database systems
  • Coming Kubernetes features
  • Service mesh

Prerequisite knowledge

  • A basic understanding of the Linux command line
  • Familiarity with Kubernetes in some form (including GKE or OpenShift)
  • Familiarity with Docker and/or Linux container concepts

Materials or downloads needed in advance

  • A full-featured laptop with the required software installed (Follow the instructions on the course GitHub repo.)

What you'll learn

  • Learn the fundamentals of running databases in a cloud native environment regardless of your database platform and some tools to use directly with the chosen databases
Photo of Josh Berkus

Josh Berkus

Red Hat

Josh Berkus is a Kubernetes community manager at Red Hat, where he works with the Kubernetes community to automate all the things, including databases. He has contributed to PostgreSQL, Docker, OpenOffice, and many other projects. In his free time, he makes pottery and metalwork. Josh first spoke at OSCON in 2004.

Comments on this page are now closed.


Picture of Julian Torres
Julian Torres | Cloud Support Engineer
07/07/2019 11:17am PDT

The email I received noted that the GitHub repo linked would have the appropriate materials for the exercises two weeks before the conference, but it looks like there’s only a README pointing to another setup that’ll be “fairly similar”. Any ideas when the actual setup will be made available?