PostgreSQL Test App
- Canonical
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 279 | 15 Nov 2024 | |
latest/stable | 278 | 15 Nov 2024 | |
latest/beta | 279 | 15 Nov 2024 | |
latest/beta | 278 | 15 Nov 2024 | |
latest/edge | 295 | 04 Dec 2024 | |
latest/edge | 294 | 04 Dec 2024 |
juju deploy postgresql-test-app
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
22.04
PostgreSQL Test App
The PostgreSQL Test App is used in various test scenarios for Charmed PostgreSQL installations. It is a workload-less charm and can be deployed and used in both K8s and VM installations.
Usage
Deploy and integrate Charmed PostgreSQL with PostgreSQL Test App
juju deploy postgresql db
juju deploy postgresql-test-app app
juju integrate db app:database
Configure the write load rate
juju config app sleep_interval=1000 # (optional, sleep 1000ms second between inserts)
Run an endless load test
juju run app/leader start-continuous-writes # (optional, to start endless write test)
juju run app/leader show-continuous-writes # (optional, to show amount of records in DB)
juju run app/leader stop-continuous-writes # (optional, to stop endless write test)
Clean up your deployment
juju remove-application app db