March 2020
Intermediate to advanced
626 pages
14h 45m
English
Let's check the same through curl by providing certificates. Run the following curl to check whether the nginx controller is routing the traffic well:
$ export INGRESS_PORT=$(kubectl -n kube-system get service nginx-controller -o jsonpath='{.spec.ports[?(@.name=="https")].port}') ; echo $INGRESS_PORT443$ export INGRESS_HOST=$(kubectl -n kube-system get service nginx-controller -o jsonpath='{.status.loadBalancer.ingress..ip}') ; echo $INGRESS_HOST192.168.142.249$ curl -Ls -HHost:booksapp.linkerd.local \--resolve booksapp.linkerd.local:$INGRESS_HOST:$INGRESS_PORT \--cacert root-ca.crt https://booksapp.linkerd.local
The IP address of the ingress gateway may change in your case. Note that we pass the root ...
Read now
Unlock full access