Go backend running gin gonic api server.
brew install --cask docker
Open docker for desktop and enable the kubernetes engine. To do so:
- Go to Settings -> Kubernetes -> enable Kubernetes ✅
- Restart docker desktop
If you have already installed kubectl and it is pointing to some other environment, such as minikube or a EKS cluster, ensure you change the context so that kubectl is pointing to docker-desktop:
kubectl config get-contexts
kubectl config use-context docker-desktop
Here is a list of all available make targets:
generate
: Generate golang codebuild-app
: Build docker imagelint
: Carry out lintingport-forward
: Port forward to api server at port 8080