Kubernetes
Minikube
Minikube runs kubernetes locally within a vm. Read about the feature.
https://docs.bitnami.com/kubernetes/get-started-kubernetes/#step-4-install-helm-and-tiller
Install
brew install minikube
Run
minikube start --memory=5120 --cpus=3 --vm-driver=hyperkit --bootstrapper=kubeadm
More Features
Create Deployment k8s files or Helm chharts
Kubernetes files
mkdir k8s
cd k8s
Helm
Install
https://docs.bitnami.com/kubernetes/get-started-kubernetes/#step-4-install-helm-and-tiller
Create Chart
https://docs.bitnami.com/kubernetes/how-to/create-your-first-helm-chart/
Skaffold
Adds "hot container reloading" to kubernetes.
https://skaffold.dev/docs/getting-started/
Install
brew install skaffold
- https://stackoverflow.com/questions/50359633/use-of-skaffold-using-minikube-without-registry
- https://skaffold.dev/docs/how-tos/deployers/
Disable Portforwarding
export SKAFFOLD_PORT_FORWARD=false