Closed kuro337 closed 6 months ago
I used k3s which has the local-path-provisoner - see https://github.com/rancher/local-path-provisioner
Hi @kuro337! I don't think you should have to create the the PVCs. But you may have to confirm that the mount directories exist and that you have permission to write to them. As davidglassborow mentioned, k3s is an easier setup to work with locally.
Closing per the responses and suggestions provided above.
If you have any additional questions, or if you require any further assistance getting up-and-running, feel free to continue the conversation via the PGO project community discord server!
hey!
I was running a Kubernetes Cluster and I was exploring to migrate it from VM's to my Clusters - which are bare metal spun up using Kubeadm.
I was testing how to use this on a simple Kubernetes cluster with 2 worker nodes - just to see if this is manageable to use.
I tried following the docs - https://access.crunchydata.com/documentation/postgres-operator/latest/quickstart and https://access.crunchydata.com/documentation/postgres-operator/latest/tutorials/basic-setup/create-cluster
But after following all of the docs and scouring through the Github issues , I wasn't able to find anything relevant. I was wondering if there was a complete End to End Documentation that doesn't assume Dynamic Storage is available?
For folks testing it out and learning , typically they will not have access to Dynamic PV Provisioning - maybe there is relevant documentation but I was not able to find anything , would appreciate if anyone could point me towards it!
The complete steps I followed were:
Then I am editing the operator file - to specify my Storage Classes created on Each Node
This is my bash script that I use to create the PV, PVC, and Storage Class before running the Operator
Then I launch the Postgres using Operator
But this way seems to not work - if anyone could even point me to a better way to do it or documentation would highly appreciate it!
My outputs after running commands for Reference with errors