ondrejsika / kubernetes-training

Skoleni Kubernetes
https://skoleni-kubernetes.cz
75 stars 25 forks source link

ingress proxy for WSL #265

Open ondrejsika opened 1 year ago

ondrejsika commented 1 year ago
docker run -d --name proxy-ingress-80 --net minikube -p 80:80 -v /root:/root sikalabs/slu:v0.50.0 slu proxy tcp -l :80 -r $(kubectl get node minikube -o jsonpath="{.status.addresses[0].address}"):$(kubectl get svc -n ingress-nginx ingress-nginx-controller -o jsonpath="{.spec.ports[0].nodePort}")
docker run -d --name proxy-ingress-443 --net minikube -p 443:443 -v /root:/root sikalabs/slu:v0.50.0 slu proxy tcp -l :443 -r $(kubectl get node minikube -o jsonpath="{.status.addresses[0].address}"):$(kubectl get svc -n ingress-nginx ingress-nginx-controller -o jsonpath="{.spec.ports[1].nodePort}")