If you wish to use as a means to access the Devtron services available in your cluster, you can configure it either during the installation or after the installation of Devtron.
Refer the section relevant to you:
If you have successfully configured Ingress, refer .
Enabling Ingress during Devtron Installation
If you are installing Devtron, you can enable Ingress either via or by using to specify the desired Ingress settings.
Using set flag
You can use the --set flag to specify the desired Ingress settings.
Here, we have added 5 configurations you can perform depending on your requirements:
Only Basic Configuration
To enable Ingress and set basic parameters, use the following command:
Create an ingress-values.yaml file. You may refer the below format for an advanced ingress configuration which includes labels, annotations, secrets, and many more.
After Devtron is installed, Devtron is accessible through devtron-service. If you wish to access Devtron through ingress, you'll need to modify this service to use a ClusterIP instead of a LoadBalancer.
Once Ingress setup for Devtron is done and you want to run Devtron over https, you need to add different annotations for different ingress controllers and load balancers.
1. Nginx Ingress Controller
In case of nginx ingress controller, add the following annotations under service.annotations under nginx ingress controller to run devtron over https.
(i) Amazon Web Services (AWS)
If you are using AWS cloud, add the following annotations under service.annotations under nginx ingress controller.
For an Ingress resource to be observed by AGIC (Application Gateway Ingress Controller) must be annotated with kubernetes.io/ingress.class: azure/application-gateway. Only then AGIC will work with the Ingress resource in question.
Note: Make sure NOT to use port 80 with HTTPS and port 443 with HTTP on the Pods.
As an alternative to the method, you can enable Ingress using ingress-values.yaml instead.
Next, create ingress to access Devtron by applying the devtron-ingress.yaml file. The file is also available on this . You can access Devtron from any host after applying this yaml.