Following the guide here:
https://docs.traefik.io/user-guide/kubernetes/
It works on the second try. Before no front-ends showed up at the end. I don't know why. I did some things a tiny bit different: pasted to a yaml file instead of pulling from rawgithub, history:
> minikube start
> nano dashboard-adminuser.yaml
> kubectl apply -f dashboard-adminuser.yaml
> kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')
> kubectl apply -f traefik-rbac.yaml
> cd ../traefik/
> nano traefik-deployment.yaml
> kubectl apply traefik-deployment.yaml
> kubectl apply -f traefik-deployment.yaml
> kubectl --namespace=kube-system get pods
> kubectl apply -f traefik-rbac.yaml
> kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')
> kubectl get services --namespace=kube-system
> kubectl apply -f ui.yaml
> echo "$(minikube ip) traefik-ui.minikube"
> sudo nano /etc/hosts
> htpasswd -c ./auth myusername
> htpasswd -c ./auth myusername
> cat auth
> kubectl create secret generic mysecret --from-file auth --namespace=monitoring
-> monitoring doesn't exist? shouldn't this be kube-system?
> kubectl apply -f cheese-deployments.yaml
> kubectl apply -f cheese-services.yaml
> kubectl apply -f cheese-ingress.yaml
> sudo nano /etc/hosts
> history
Cheese
"You can add a TLS entrypoint by adding the following args
to the container spec:"
-> how? should I log in to the pods?
-> I'd like to add Let's encrypt for every website, how to do that?