---
title: Charmhub | Deploy PgBouncer K8s using Charmhub - The Open Operator Collection
description: Deploy the latest version of PgBouncer K8s as a Kubernetes Operator on
  any cloud.
url: https://charmhub.io/pgbouncer-k8s/actions
---

# PgBouncer K8s

[Canonical](https://charmhub.io/publisher/data-platform "View all packages from Canonical")

* [Canonical](https://charmhub.io/publisher/data-platform "View all packages from Canonical")
* [Databases](https://charmhub.io/?filter=databases)

Platform:

1/stable 593

```
juju deploy pgbouncer-k8s --channel 1/stable --trust
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [pre-upgrade-check](https://charmhub.io/pgbouncer-k8s/actions#pre-upgrade-check)
* [resume-upgrade](https://charmhub.io/pgbouncer-k8s/actions#resume-upgrade)
* [set-tls-private-key](https://charmhub.io/pgbouncer-k8s/actions#set-tls-private-key)

[Learn about actions >](https://juju.is/docs/juju/action)

* pre-upgrade-check

  Run necessary pre-upgrade checks before executing a charm upgrade.
* resume-upgrade

  Resume a rolling upgrade after asserting successful upgrade of a new revision.
* set-tls-private-key

  Set the private key, which will be used for certificate signing requests (CSR). Run for each unit separately.

  Params

  + private-key
    string

    The content of private key for communications with clients. Content will be auto-generated if this option is not specified.
