Skip to content

hendisantika/springboot-thymeleaf-postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-thymeleaf-postgres

Things to do

  1. Clone the repository: git clone https://github.com/hendisantika/springboot-thymeleaf-postgres.git.
  2. Go to folder: cd springboot-thymeleaf-postgres
  3. Run application: mvn clean spring-boot:run

Screen shot

Add New Student

List Down Student

Kubernetes Command

kubectl apply -f k8s/postgres-configmap.yml
kubectl get configmap
kubectl apply -f k8s/postgres-credentials.yml
kubectl get secret
kubectl describe secret postgres-credentials

execute file deployment postgresql database.

kubectl apply -f k8s/postgres-deployment.yml
kubectl get deployment
kubectl get pod
kubectl logs -f postgres-77977dd68f-4dwjz
kubectl port-forward postgres-77977dd68f-4dwjz 5433:5432