-
Notifications
You must be signed in to change notification settings - Fork 0
docs: enhance PostgreSQL demo guide with external connection and stor… #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,13 +45,23 @@ We'll be using the PostgreSQL Helm chart from [Bitnami Charts](https://artifacth | |
|
|
||
| 3. After uploading, navigate to the `Applications Store` to deploy the Helm chart. | ||
|
|
||
| **To allow external connections**, configure the service as NodePort in the deployment settings: | ||
| **To allow external connections and configure storage**, adjust the deployment settings: | ||
| ```yaml | ||
| service: | ||
| type: NodePort | ||
| port: 5432 | ||
| nodePort: 30432 # Port range: 30000-32767 | ||
| primary: | ||
| persistence: | ||
| size: 10Gi # PVC Storage Request for PostgreSQL volume (e.g., 10Gi, 20Gi, 100Gi) | ||
| ``` | ||
|
|
||
| **Configuration Details**: | ||
| - **service.type**: Set to `NodePort` to allow external connections | ||
| - **service.port**: PostgreSQL service port (default: 5432) | ||
| - **service.nodePort**: External port accessible from outside the cluster | ||
| - **primary.persistence.size**: Storage size for the PostgreSQL data volume (adjust based on your needs) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For better clarity and technical accuracy, it would be good to explicitly mention that this setting configures the size of the Persistent Volume Claim (PVC). This helps users connect the configuration to the underlying Kubernetes concepts and provides more precise documentation. |
||
|
|
||
| After deployment, you can connect externally using `<node_ip>:<nodePort>`. | ||
|
|
||
| 4. Retrieve the PostgreSQL password from `Applications Secrets`: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To prevent potential user issues, it's helpful to mention that the specified
nodePortmight already be in use and that they may need to select a different one within the valid range. This proactive guidance can save users from troubleshooting a common deployment issue.