Adding an ingress controller to your cluster for external connectivity
If you want to access the services in the kubernetes cluster from outside the cluster, you need an ingress controller. Use the following commands to make an ingress controller available in your cluster.
-
First add the ingress-nginx repo. This only needs to be done once.
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
-
Start the ingress-nginx
In the example below, nginx is started without requiring a class to be set on the ingress resources and SSL passthrough. helm install ingress-controller --set controller.watchIngressWithoutClass="true" --set controller.extraArgs.enable-ssl-passthrough="true" ingress-nginx/ingress-nginx
-
When running locally, you might want to add <domain> and axual.<domain> to your
/etc/hosts
. Replace <domain> with the domain you are using for the deployment of Axual Governance.127.0.0.1 <domain> axual.<domain>