Configuring an Ingress
Specify a hostname to use
If you use this option, Ingress routes requests for a hostname to the service or workload that you specify.
- Specify a path of type
Prefixand specify a path such as/. - Add a Target Service.
- Optional: If you want to specify a workload or service when a request is sent to a particular hostname path, add a Path for the target. For example, if you want requests for
www.mysite.com/contact-usto be sent to a different service thanwww.mysite.com, enter/contact-usin the Path field. Typically, the first rule that you create does not include a path. - Enter the Port number that each target operates on.
Certificates
note
You must have an SSL certificate that Ingress can use to encrypt and decrypt communications. For more information, see Adding SSL Certificates.
- To create an Ingress controller, click the Certificates tab.
- Click Add Certificate.
- Select a Certificate - Secret Name from the drop-down list.
- Enter the host using encrypted communication.
- To add more hosts that use the same certificate, click Add Hosts.
Labels and Annotations
Please refer to the Traefik documentation for the full list of Ingress NGINX annotations that are supported and unsupported by Traefik's kubernetesIngressNginx provider.