Skip to content

iamsurajgharat/conversion-rate-full

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conversion-rate-full

How to make Postgresql running on host accessible to pods running inside minikube vm ?

  1. Make postgresql available for either all ip addresses, or for the ip address of host and minikube vm bridge. For this we need to update Postgresql configuration in file postgresql.conf by setting listen_addresses = "*"

  2. Update Postgresql client authetication settings to allow minikube pod app to connect to it, by changing pg_hba.conf.

  3. For above both steps, we need to know host and minikube ip addresses for the bridge they are connected through.

Create kubernetes secret for database credentials

kubectl create secret generic database-creds --from-literal=username= --from-literal=password=

Create kubernetes secret for play-application secret

kubectl create secret generic play-app-secret --from-literal=appkey=

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published