Add an Ingress manually
Was this helpful?
Was this helpful?
From the menu expand Networking, select Ingresses then click Add with form.
Select the namespace that the Ingress needs to be created in from the list.
Complete the required information, using the sections below as a guide.
Name
Enter a descriptive name for the ingress.
Ingress class
Select an Ingress Class object from the list, or select none when no IngressClass
info is needed in the Ingress specification.
Annotations
You can add annotations to your ingress as required by clicking Add annotation and filling in the Key and Value fields. Depending on your selected ingress class you may also be able to add rewrite annotations and/or regular expression annotations.
Here you can define the specifics for the Ingress rule:
Hostname
Enter the FQDN that the application should be accessed with
eg: myapp.mydomain.com
.
TLS Secret
Service
Select a service that you want to expose from the list.
Service port
Select the port that needs to be exposed from the list.
Path type
Select the relevant path type. The default is Prefix
.
Path
Enter the path to expose the application on. To expose on the root of the domain use /
.
You can expose other services using a different path by clicking on Add path.
Add more rules by clicking on Add new host or a fallback rule by Add fallback rule.
When you're ready, click Create.
Select the TLS secret that holds the SSL certificate information for the hostname entered above. Optionally, create a new by clicking on the Create secret link (opens in a new tab). Once secret is created click on the reload button next to the TLS secret dropdown and select the new secret.