Skip to content

Go app with Postgresql, Java and Prometheus based on k8s

Notifications You must be signed in to change notification settings

alrf/k8s_go_pg_java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go app with Postgresql, Java and custom Prometheus metrics based on k8s.

k8s_go_pg dir - k8s manifests.

All k8s manifests are in subfolders.

app dir - Go application.

Used commands below for containerizing Go application:

docker build -t go-web-app . --network=host
docker tag go-web-app:latest alrf/go-web-app:latest
docker push alrf/go-web-app:latest

How to deploy

AWS ACM and Network Load Balancer are used.

Setup proper values for ACM and DOMAIN variables in deploy.sh

# AWS ACM: arn:aws:acm:xxxxxxxxxxx
export ACM="arn:aws:acm:xxxxxxxxxxxxx"
# domain name for your docker registry without schema (http/https): your.docker-go-pg.com
export DOMAIN="your.docker-go-pg.com"

Run bash deploy.sh

How to remove deployment

Run bash undeploy.sh

About

Go app with Postgresql, Java and Prometheus based on k8s

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages