module
Version:
v0.0.0-...-fcf22e6
Opens a new window with list of versions in this module.
Published: Apr 6, 2022
License: MIT
Opens a new window with license information.
README
¶
Go Kubernetes POC
Go Lang Application and deploy it on Kubernetes
Makefile
make build
to build the golang binary of application
make run
to run application on local
make clean
to clean generated binary of application
Run on local
Unit Testing
go test -short ./...
to run without integration tests
go test -v ./...
to run with integration tests
Health Check API
http://localhost:8080/health
Build docker image
docker build -t babulal107/go-kubernetes-poc:latest .
Run docker Container
docker run -p 8090:8080 -d babulal107/go-kubernetes-poc
Push docker to docker hub repository
docker push babulal107/go-kubernetes-poc
Directories
¶
Click to show internal directories.
Click to hide internal directories.