Prereqs
- Minikube, Helm, Docker CLI
- kubefwd for connecting to services locally
Steps
Configure the image with your private key(s) before building:
cp ~/.ssh/id_rsa.pub ./openssh-image/authorized-keys/$(whoami)
Ensure your cluster context is running:
minikube start
Ensure that Tiller is running in the cluster. To start Tiller:
helm init
Ensure your development console is configured to connect to Minikube's docker daemon:
eval $(minikube docker-env)
Now you can deploy the helm cluster locally
make deploy
Now you can start kubefwd in another session (or re-configure docker)
sudo kubefwd services
And return to your original session to finally connect over SSH!
make connect