Charmed PostgreSQL K8s

Channel Revision Published Runs on
latest/stable 20 20 Sep 2022
Ubuntu 20.04
14/stable 193 13 Mar 2024
Ubuntu 22.04
14/candidate 193 31 Jan 2024
Ubuntu 22.04
14/beta 211 13 Mar 2024
Ubuntu 22.04
14/edge 240 28 Apr 2024
Ubuntu 22.04
juju deploy postgresql-k8s --channel 14/stable
Show information

Platform:

Charmed PostgreSQL K8s Tutorial

This section of our documentation contains comprehensive, hands-on tutorials to help you learn how to deploy Charmed PostgreSQL K8s and become familiar with its available operations.

Prerequisites

While this tutorial intends to guide you as you deploy Charmed PostgreSQL K8s for the first time, it will be most beneficial if:

  • You have some experience using a Linux-based CLI
  • You are familiar with PostgreSQL concepts such as replication and users.
  • Your computer fulfills the minimum system requirements

Tutorial contents

This Charmed PostgreSQL K8s tutorial has the following parts:

Step Details
1. Set up the environment Set up a cloud environment for your deployment using Multipass with MicroK8s and Juju.
2. Deploy PostgreSQL Learn to deploy Charmed PostgreSQL K8s using a single command and access the database directly.
3. Access PostgreSQL Learn how to access a PostgreSQL instance directly
4. Scale the amount of replicas Learn how to enable high availability with a Patroni-based cluster.
5. Manage passwords Learn how to request and change passwords.
6. Integrate PostgreSQL with other applications Learn how to integrate with other applications using the Data Integrator charm, access the database from a client application, and manage users.
7. Enable TLS encryption Learn how to enable security in your PostgreSQL deployment via TLS.
8. Clean-up your environment Free up your machine’s resources.