Edit Routing Rules
This section describes how to edit routing rules.
Prerequisites
You should join a cluster or a project and have the Application Workload Management permission within the cluster or the project. For more information, refer to "Cluster Roles" and "Project Roles".
Steps
Log in to the KubeSphere web console with a user who has the Application Workload Management permission and enter your cluster or project.
Click Application Workloads > Ingresses in the left navigation pane.
Click on the right side of the ingress you want to edit, then select Edit Routing Rules from the dropdown list.
In the Edit Routing Rules dialog, set the routing rules, then click OK.
Click Add Routing Rule to set routing rules. You can set multiple routing rules, each corresponding to a domain name.
Hover the cursor over a created routing rule, then click on the right side to edit the routing rule settings.
Hover the cursor over a created routing rule, then click on the right side to delete the routing rule.
Parameter Description Domain
The user-defined domain name.
Protocol
The protocol supported by the Ingress. The value can be HTTP or HTTPS.
Secret
The Secret used to provide the certificate and key when the Ingress protocol is HTTPS. This Secret must contain the tls.cert and tls.key fields, which store the Base64-encoded certificate and private key, respectively.
Path
The domain path and its mapping relationship with the service port.
Click Add to set multiple paths.
Click on the right side of a created path to delete the path.
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.