March 2020
Intermediate to advanced
626 pages
14h 45m
English
Even without using Ingress, it is possible to use NodePort to access the dashboard from within the VM. However, we will create an optional Ingress entry for the Consul dashboard so that this can be accessed from outside the Kubernetes cluster. Follow these steps:
$ export INGRESS_HOST=$(kubectl -n kube-system get service nginx-controller \-o jsonpath='{.status.loadBalancer.ingress..ip}') ; echo $INGRESS_HOST192.168.142.249$ sudo sed -i '/webconsole.consul.local/d' /etc/hosts$ echo "$INGRESS_HOST webconsole.consul.local" | sudo tee -a /etc/hosts
The following is the ...
Read now
Unlock full access