Comment on page
Add an Ingress manually
From the menu 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.
Note for Google Cloud users
Google Cloud ingress controller (gce or GKE Ingress) continues to use the deprecated
kubernetes.io/ingress.classannotation on ingresses, whereas most other ingress controllers use the
IngressClassresource that was introduced in Kubernetes 1.18.
Portainer targets the
IngressClassresource means of specifying ingress classes, but you can still use the Google Cloud ingress controllers by turning on the Allow ingress class to be set to "none" toggle in Cluster setup and setting them up as custom with
noneselected as their Ingress class. Then when adding an ingress based on this, set an annotation with the key
Here you can define the specifics for the Ingress rule:
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.
A fallback rule has no host specified. This rule only applies when an inbound request has a hostname that does not match with any of your other rules.
When you're ready, click Create.