Golang app running in a local Kubernetes development environment using Minikube.
- Minikube: You need to have Minikube installed on your machine. If you don't have it, follow the installation instructions on the Minikube repository.
minikube start --driver=hyperkit --container-runtime=docker
To use Minikube's kubectl
command, create an alias:
alias kubectl="minikube kubectl --"
eval $(minikube docker-env)
./setup.sh
curl http://$(minikube ip):31234/ping
To delete all Kubernetes resources related to the app:
kubectl delete all --all -n go-app-k8s
Feel free to modify the instructions and add any additional information specific to your application.