PostgreSQL Test App

  • By Canonical Data Platform
Channel Revision Published Runs on
latest/stable 50 08 Feb 2024
Ubuntu 22.04
latest/edge 115 Today
Ubuntu 22.04
juju deploy postgresql-test-app
Show information

Platform:

Ubuntu
22.04

PostgreSQL Test App

The test application charm used in various test scenarios for Charmed PostgreSQL K8s/VM installations.

While this tutorial intends to guide and teach you as you deploy PostgreSQL Test App, it will be most beneficial if you already have a familiarity with:

  • Basic terminal commands.
  • PostgreSQL concepts such as replication and users.

PostgreSQL Test App is the workload-less charm. It can be deployed and used in both K8s and VM installations.

Just deploy and relate it:

# Deploy
juju deploy postgresql db
juju deploy postgresql-test-app app
juju relate db app:first-database

# Run endless load test
juju run app/leader start-continuous-writes # (optional, to start endless write test)
juju run app/leader stop-continuous-writes  # (optional, to stop endless write test)

# Keep the house clean
juju remove-application app db


Help improve this document in the forum (guidelines). Last updated 7 months ago.