Skip to content

Spring boot app connecting to database along with yaml files for kubernetes config

Notifications You must be signed in to change notification settings

SalehAly/kubernetes-spring-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kubernetes-spring-postgres

Spring boot app connecting to database along with yaml files for kubernetes config

Minikube POC

$  minikube start --memory 8192
$ eval $(minikube docker-env) 
$ build demo project with command ``` mvn install docker:build``` `
$ kubectl apply -f postgres/volume.yaml
$ kubectl apply -f postgres-config.yaml
$ kubectl apply -f postgres/postgres.yaml
$ kubectl apply -f demo/kube-config/spring-boot-demo-config-map.yaml
$ kubectl apply -f demo/kube-config/spring-boot-demo.yaml
  • Then you should have two running pods; a spring boot service and a db talking to each other.

About

Spring boot app connecting to database along with yaml files for kubernetes config

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published