PostgreSQL
Add integration
Deploy
The PostgreSQL Helm chart provides a straightforward way to deploy and manage PostgreSQL instances in your Kubernetes cluster. It offers customizable options for persistence, resource configuration, and scalability to cater to a wide range of workloads.
Add Helm Repository
Before installing the PostgreSQL chart, add the repository to your Helm installation and update the repository index:
See Helm Repository Documentation for additional information.
Install Helm Chart
To install the PostgreSQL Helm chart, execute the following command:
Replace [RELEASE_NAME]
with the desired release name.
For example:
To customize the deployment, use a custom values.yaml
file or override values directly via the command line.
See Helm Install Documentation for further details.
Uninstall Helm Chart
To uninstall the PostgreSQL Helm chart and remove all associated Kubernetes resources, use:
For example:
See Helm Uninstall Documentation for additional details.
Configuration
The PostgreSQL Helm chart provides a variety of configurable parameters. The table below outlines the key configurations:
Input | Type | Description | Default |
---|---|---|---|
|
| Root password for the PostgreSQL instance. Leave unset for default random generation. | None |
|
| Docker image and tag for the PostgreSQL container. |
|
|
| Minimum CPU resources required by the PostgreSQL container. |
|
|
| Minimum memory resources required by the PostgreSQL container. |
|
|
| Maximum CPU resources the PostgreSQL container can use. |
|
|
| Maximum memory resources the PostgreSQL container can use. |
|
|
| Size of the persistent volume claim (PVC) for storing PostgreSQL data. |
|
|
| Update strategy for the deployment. Options: |
|
You can override these values in a values.yaml
file or pass them as flags during installation.
Example values.yaml
File
To use this configuration, save it in a values.yaml
file and apply it during installation:
Features
Persistence: Store PostgreSQL data across pod restarts using persistent volume claims.
Resource Optimization: Define resource requests and limits to suit your workload and cluster capacity.
Rolling Updates: Ensure zero downtime during updates with the default
RollingUpdate
strategy.Customizable Configurations: Flexibly tailor the deployment using Helm values.
Advanced Usage
Custom Secrets for Root Password
You can provide a pre-existing Kubernetes secret to manage the PostgreSQL root password securely. Update the values.yaml
file to include the secret name:
Create the secret before deploying the chart:
Contributing
We welcome contributions to improve this Helm chart. Please refer to the CONTRIBUTING.md file for contribution guidelines.
Code of Conduct
To maintain a healthy and collaborative community, please adhere to our Code of Conduct.
License
This project is licensed under the LICENSE. Please review it for terms of use.
Prerequisites
Kubernetes 1.19+
Helm 3+
Build By
Zop.dev
Category
See Helm Install Documentation for more information.
Need Help with This Integration?
We’re here to make setup smooth. Let us know what’s confusing—or which tools you'd like to see integrated next.
Need technical support or have product questions?