Deploy Postgresql with Helm

Helm is the package manager for deploying pre-built packages to Kubernetes.

I found the Postgresql package here: https://artifacthub.io/packages/helm/bitnami/postgresql

Follow the TL;DR

helm install my-release oci://registry-1.docker.io/bitnamicha…


This content originally appeared on DEV Community and was authored by Frederick Ollinger

Helm is the package manager for deploying pre-built packages to Kubernetes.

I found the Postgresql package here: https://artifacthub.io/packages/helm/bitnami/postgresql

Follow the TL;DR

helm install my-release oci://registry-1.docker.io/bitnamicharts/postgresql

Looks like has issues:

kubectl describe pod my-release-postgresql-0


  Warning  FailedScheduling  2m33s  default-scheduler  0/1 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling

Well that did not work out. Let's figure out what's wrong.

Seems like it's related to a Persistent Volume Claim. What is that?

A Persistent Volume is a piece of storage in your Kubernetes cluster. It is provisioned by the cluster administrator or dynamically provisioned using a storage class.

It represents a physical storage resource, which can be backed by various storage systems (e.g., NFS, cloud storage like AWS EBS, etc.).

"So a persistent volume (PV) is the "physical" volume on the host machine that stores your persistent data. A persistent volume claim (PVC) is a request for the platform to create a PV for you, and you attach PVs to your pods via a PVC." [1]

References

  1. Persistent volume vs. persistent volume claim https://stackoverflow.com/questions/48956049/what-is-the-difference-between-persistent-volume-pv-and-persistent-volume-clai


This content originally appeared on DEV Community and was authored by Frederick Ollinger


Print Share Comment Cite Upload Translate Updates
APA

Frederick Ollinger | Sciencx (2024-09-26T21:54:12+00:00) Deploy Postgresql with Helm. Retrieved from https://www.scien.cx/2024/09/26/deploy-postgresql-with-helm/

MLA
" » Deploy Postgresql with Helm." Frederick Ollinger | Sciencx - Thursday September 26, 2024, https://www.scien.cx/2024/09/26/deploy-postgresql-with-helm/
HARVARD
Frederick Ollinger | Sciencx Thursday September 26, 2024 » Deploy Postgresql with Helm., viewed ,<https://www.scien.cx/2024/09/26/deploy-postgresql-with-helm/>
VANCOUVER
Frederick Ollinger | Sciencx - » Deploy Postgresql with Helm. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/09/26/deploy-postgresql-with-helm/
CHICAGO
" » Deploy Postgresql with Helm." Frederick Ollinger | Sciencx - Accessed . https://www.scien.cx/2024/09/26/deploy-postgresql-with-helm/
IEEE
" » Deploy Postgresql with Helm." Frederick Ollinger | Sciencx [Online]. Available: https://www.scien.cx/2024/09/26/deploy-postgresql-with-helm/. [Accessed: ]
rf:citation
» Deploy Postgresql with Helm | Frederick Ollinger | Sciencx | https://www.scien.cx/2024/09/26/deploy-postgresql-with-helm/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.