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

PostgreSQL on Kubernetes

E084eb5b13255d30b3800d7afb251147?s=47 OnGres
February 03, 2020

PostgreSQL on Kubernetes

Kubernetes is the new way of deploying software, programmatically, on almost any infrastructure (be it cloud or on-prem). But is a complex beast. How to get started? How to dive deeper? What are the specific best-practices and special hints for Postgres DBAs dealing with Kubernetes? Join this half-day tutorial to learn, practically, among other topics:

* How to quickly get started with Kubernetes
* Manage storage
* Manage services and networking
* How to make Postgres cloud-native in Kubernetes

E084eb5b13255d30b3800d7afb251147?s=128

OnGres

February 03, 2020
Tweet

Transcript

  1. POSTGRESQL ON KUBERNETES POSTGRESQL ON KUBERNETES Álvaro Hernández

  2. POSTGRESQL ON KUBERNETES ` whoami` • Founder & CEO, OnGres

    • 20+ years PostgreSQL user and DBA • Mostly doing R&D to create new, innovative software on Postgres • Frequent speaker at PostgreSQL, database conferences • Principal Architect of ToroDB • Founder and President of the NPO Fundación PostgreSQL • AWS Data Hero Álvaro Hernández <aht@ongres.com> @ahachete
  3. POSTGRESQL ON KUBERNETES WHAT IS KUBERNETES (non-classical intro)

  4. POSTGRESQL ON KUBERNETES //WHAT IS KUBERNETES? An HTTP Server

  5. POSTGRESQL ON KUBERNETES //WHAT IS KUBERNETES? An object HTTP Server

  6. POSTGRESQL ON KUBERNETES //WHAT IS KUBERNETES? An object HTTP Server

    That executes actions on containers when create/modify/delete operations are run on the HTTP-exposed objects
  7. POSTGRESQL ON KUBERNETES //WHAT IS KUBERNETES? An object HTTP Server

    Where the URLs of the objects and their fields form an API façade that represents the actions to be taken on containers
  8. POSTGRESQL ON KUBERNETES //WHAT IS KUBERNETES? https://blog.openshift.com /kubernetes-deep-dive-api -server-part-2/

  9. POSTGRESQL ON KUBERNETES //WHAT IS KUBERNETES?

  10. POSTGRESQL ON KUBERNETES //WHY KUBERNETES? • K8s is “the JVM”

    of the architecture of distributed systems: an abstraction layer & API to deploy and automate infrastructure. • K8s provides APIs for nodes and IPs discovery, secret management, network proxying and load balancing, storage allocation, etc • A PostgreSQL deployment can be fully automated!
  11. POSTGRESQL ON KUBERNETES DEMO - POSTGRESQL on K8S (“show the

    code”)
  12. POSTGRESQL ON KUBERNETES https://gitlab.com/ahachet e/k8s-pg-demo/

  13. CLOUD NATIVE POSTGRESQL ON KUBERNETES QUESTIONS? Álvaro Hernández <aht@ongres.com> @ahachete

    / www.ongres.com //THANK YOU