Contains set of tools and scripts that make work with minikube less painful
.\Init.ps1
It will download kubefwd and other tools and add this folder to PATH 💥
.\M-Start.ps1
Checks if minikube is stale\stopped or misconfigured and starts it with following addons:
- Deploys service masterhost.shared and setups forwarding to host ip
Not 127.0.0.1 but your VM host machine IP that changes on restart. This way services inside the cluster can access resources running on your machine, like sql server, just use masterhost.shared as an endpoint name and make sure port in firewall is open to internal network (1433 for sql)
- Adds dns names to localhost:
- masterhost.shared and masterhost.shared.svc.cluster.local - as 127.0.0.1, to make it easier for debug without changing configs
- minikube.host - to access exposed services by host name (ex. http://minikube.host:30562 for kibana)
- Anything else you need, just checkout the file ;)
M-Restart.ps1 #forces restart even if minikube is running
Use-Minikube.ps1 #Switch context to minikube
Use-Dev.ps1 #Switch context to dev
M-Deploy-This.ps1 #Shortcut for 'Invoke-Build Build-DockerImage, Install-Release'. (will switch to minukube context)
M-Publish-Masterhost #redeploy masterhost without minikube restart (part of M-Start)
M-CleanLogs.ps1 #Clean k8s logs