generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
5ad8f9f
commit 000f9c8
Showing
16 changed files
with
291 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Explanation | ||
|
||
This section contains pages with more detailed explanations that provide additional context about some of the key concepts behind the PgBouncer charm: | ||
|
||
* [Juju] | ||
* [Interfaces/endpoints] | ||
* [Statuses] | ||
* [Legacy charm] | ||
|
||
<!-- Links --> | ||
[Juju]: /t/12302 | ||
[Interfaces/endpoints]: /t/12304 | ||
[Statuses]: /t/12303 | ||
[Legacy charm]: /t/13944 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# How-to guides | ||
|
||
The following guides cover key processes and common tasks for managing and using Charmed PgBouncer on machines. | ||
|
||
## Deployment | ||
|
||
* [How to deploy][Deploy] | ||
|
||
## Usage and maintenance | ||
|
||
* [Manage units] | ||
* [Manage integrations] | ||
* [Enable TLS] | ||
* [External network access] | ||
|
||
## Monitoring (COS) | ||
|
||
* [Enable monitoring] | ||
* [Enable tracing] | ||
|
||
## Upgrades and rollbacks | ||
|
||
* [Upgrade] | ||
* [Perform a minor upgrade] | ||
* [Perform a minor rollback] | ||
|
||
<!-- Links --> | ||
|
||
[Deploy]: /t/12312 | ||
[Manage units]: /t/12309 | ||
[Enable TLS]: /t/12310 | ||
[Manage integrations]: /t/12311 | ||
[External network access]: /t/15741 | ||
|
||
[Enable monitoring]: /t/12308 | ||
[Enable tracing]: /t/14788 | ||
|
||
[Upgrade]: /t/12313 | ||
[Perform a minor upgrade]: /t/12317 | ||
[Perform a minor rollback]: /t/12316 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
# How to deploy and manage units | ||
|
||
## Basic Usage | ||
# How manage units | ||
|
||
To deploy a single unit of PgBouncer using its default configuration: | ||
```shell | ||
juju deploy pgbouncer --channel 1/stable | ||
``` | ||
|
||
## Scaling | ||
## Scale units | ||
|
||
PgBouncer is a subordinated charm, both scaling-up and scaling-down operations are performed via the principal charm using `juju add-unit`: | ||
|
||
PgBouncer is a subordinated charm, both scaling-up and scaling-down operations are performed via principal application using `juju add-unit`: | ||
```shell | ||
juju add-unit application -n <desired_num_of_units> | ||
juju add-unit <principal_charm> -n <desired_num_of_units> | ||
``` | ||
|
||
The subordinated application will be scaled automatically, following the principal application. | ||
The subordinated charm will be scaled automatically, following the principal charm. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Upgrade | ||
|
||
Currently, the charm supports PgBouncer major version 1 only. Therefore, in-place upgrades/rollbacks are not possible for major versions. | ||
|
||
> **Note**: Canonical is not planning to support in-place upgrades for major version change. The new PgBouncer charm will have to be installed nearby, and the data will be copied from the old to the new installation. After announcing the next PostgreSQL + PgBouncer major version support, the appropriate documentation for data migration will be published. | ||
For instructions on carrying out **minor version upgrades**, see the following guides: | ||
|
||
* [Minor upgrade](/t/12317?channel=1/stable), e.g. PgBouncer 1.18 -> PgBouncer 1.19<br/> | ||
(including charm revision bump 99 -> 102). | ||
* [Minor rollback](/t/12316?channel=1/stable), e.g. PgBouncer 1.19 -> PgBouncer 1.18<br/> | ||
(including charm revision return 102 -> 99). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Reference | ||
|
||
The Reference section contains pages for technical specifications, APIs, release notes, and other reference material for fast lookup. | ||
|
||
* [Release Notes]: Release notes for major revisions of this charm | ||
* [System requirements]: Software and hardware requirements | ||
* [Software testing]: Software tests (e.g. smoke, unit, performance...) | ||
* [Contacts] | ||
|
||
Additionally, you can find automatically generated metadata in the following tabs on Charmhub: | ||
* [Integrations] | ||
* [Configurations] | ||
* [Actions] | ||
|
||
|
||
<!-- Links --> | ||
[Release Notes]: /t/12285 | ||
[System requirements]: /t/12307 | ||
[Software testing]: /t/12306 | ||
[Contacts]: /t/12305 | ||
|
||
[Integrations]: https://charmhub.io/pgbouncer/integrations?channel=1/stable | ||
[Configurations]: https://charmhub.io/pgbouncer/configurations?channel=1/stable | ||
[Actions]: https://charmhub.io/pgbouncer/actions?channel=1/stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.