Skip to content

Instantly share code, notes, and snippets.

@magohl
Last active November 5, 2019 06:38
Show Gist options
  • Save magohl/67bb4c1b05834a98cceaa0ab8c91da0f to your computer and use it in GitHub Desktop.
Save magohl/67bb4c1b05834a98cceaa0ab8c91da0f to your computer and use it in GitHub Desktop.
Install helm w RBAC
kubectl -n kube-system create serviceaccount tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account=tiller
Update context
minikube update-context
Install Traefik using Helm (https://8gwifi.org/docs/kube-traefik.jsp)
helm install stable/traefik --name traefik --set dashboard.enabled=true,serviceType=NodePort,dashboard.domain=dashboard.traefik,rbac.enabled=true --namespace kube-system
Change Nodeport range:
start minikube with a different node port range:
minikube start --extra-config=apiserver.service-node-port-range=80-30000 --vm-driver=hyperv
Change the traefik service nodeports (using minikube dashboard or similar)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment