axelrodvl / booking

Full-stack booking service with FE and BE on Kubernetes
0 stars 0 forks source link

Deploy PostgreSQL to Kubernetes #1

Open axelrodvl opened 1 year ago

axelrodvl commented 1 year ago
Dolph111 commented 1 year ago

@axelrodvl The status is Pending due to limited resources. https://ru.paste.pics/OS5B2 From what I understand, our resource limits are too low, and the pods are requesting more resources https://ru.paste.pics/OS51Y I need to change the Limits, but I can't figure out where to do it. I tried editing the manifest file in Ubuntu, but I can't save it, it gives me errors. I also tried modifying the values file in the charts/postgres folder, but I don't understand how to pass these values. I need some guidance to confirm if I correctly identified the issue.

axelrodvl commented 1 year ago

@Dolph111 That's right, we have limited resources. Try to change the helm chart CPU and memory requirements. If not possible, pick up the next task for now.

axelrodvl commented 1 year ago

@Dolph111 PostgreSQL is up and running. I can successfully connect to it using port-forwarding:

➜  ~ kubectl port-forward --namespace default svc/postgresql 5432:5432  
Forwarding from 127.0.0.1:5432 -> 5432
Forwarding from [::1]:5432 -> 5432
Handling connection for 5432
Handling connection for 5432

using these settings: Image

Try the following:

Dolph111 commented 1 year ago

@axelrodvl Done