Don't know how to start minikube? Read ashishae's tips
It's a file that have to be source-ed in every new terminal (if needed)
It contains shell functions :
kdeploy
This function builds a docker image and applies the associated .yaml
kdeploy nginx wordpress mysql phpmyadminclean
This function deletes the ressources deployed by a .yaml
clean nginx wordpress mysql phpmyadminkre
Runs clean then kdeploy for each given parameters
kre nginx wordpress mysql phpmyadminwatch_services
Keep an eye on everything running in your cluster
watch_servicesdockexec
Executes a docker image, just to see what's in it
dockexec [service-name] [path/to/dockerfile] [cmd (sh by default)]kexec
Executes an existing pod (with sh by default), just to see what's in it (is your config set as you wanted?)
kexec [pod-ID] [cmd (sh by default)]klogs
Get logs of one pod from kubernetes
klogs [pod-ID]- Verify nginx is running:
ps aux | grep "[n|N]ginx"- Verifying that Nginx port is open:
netstat -tulpnnetstat -ant | grep 3306
# tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN- But alpine doesn't have
netstat!