Source: See cloudnative-pg website for details.
CloudNativePG is an open source operator designed to manage PostgreSQL workloads on any supported Kubernetes cluster running in private, public, hybrid, or multi-cloud environments. CloudNativePG was originally built and sponsored by EDB.
To enable the addon:
microk8s enable cloudnative-pg
The addon can be disabled at any time with:
microk8s disable cloudnative-pg