A "Hello world" API designed to be deployed on Kubernetes. Built using Go Gin.
Before we begin, lets install the projects dependencies,
go install
We can run and watch for any code changes using a package called Air,
make dev
Now lets build an executable binary and run the project,
make build && \
./kubernetes-hello-world-api
To build a Docker image of the project,
make docker-build
This next step is intended for use with the bakeruk/kubernetes-hello-world-kustomization project. This will tag and push the newly built Docker image to the the bakeruk/kubernetes-hello-world-kustomization
local registry,
make docker-push-local