Edit Routing Rules
This section describes how to edit a routing rule.
Prerequisites
You need to join a project and have the Application Workload Management permission in the project. For more information, see Project Members and Project Roles.
Steps
-
Log in to the KubeSphere web console with a user who has Application Workload Management permissions and enter your workspace.
-
Click Application Workloads > Ingress in the left navigation pane.
-
Select a project from the drop-down list in the upper left corner of the page.
-
On the right side of the Ingress you want to operate, click
, and then select Edit Routing Rule from the drop-down list.
-
In the Edit Routing Rule dialog box, set the routing rule, and then click OK.
-
Click Add Routing Rule to set a routing rule. You can set multiple routing rules, each corresponding to a domain name.
-
Hover over a created routing rule, then click
on the right to edit the routing rule settings.
-
Hover over a created routing rule, then click
on the right to delete the routing rule.
Parameter Description Domain Name
User-defined domain name.
Protocol
Protocol supported by the Ingress. The parameter value can be HTTP or HTTPS.
Secret
When the Ingress protocol is HTTPS, the Secret used to provide the certificate and key. This Secret must contain the tls.cert and tls.key fields, storing the Base64-encoded certificate and private key respectively.
Path
Domain path and its mapping relationship with the service port.
-
Click Add to set multiple paths.
-
Click
on the right of a created path to delete the path.
-