This commit is contained in:
ston1th 2019-08-03 22:34:10 +02:00
commit fbff282067

View file

@ -38,12 +38,13 @@ Install nginx: `apt install nginx -y`
Configure nginx to forward traffic to the node ports. Configure nginx to forward traffic to the node ports.
First get the ports of your ingress controller. First get the ports of your ingress controller.
Look for the `80:<nodeport>` and `443:<nodeport>` mappings. Look for the `80:<nodeport>` and `443:<nodeport>` mappings.
For nginx: `kubectl -n ingress-nginx get svc ingress-nginx` * nginx: `kubectl -n ingress-nginx get svc ingress-nginx`
For Istio: `kubectl -n istio-system get svc istio-ingressgateway` * Istio: `kubectl -n istio-system get svc istio-ingressgateway`
Now add all your nodes as stream backends with the ports: Now add all your worker nodes as stream backends with the ports:
``` ```
cat <<EOF> /etc/nginx/nginx.conf cat <<EOF> /etc/nginx/nginx.conf