This topic explains how to create and manage routes, which associate a Kubernetes Space with a domain binding in Tanzu Platform.
Before you begin
Before you create a route, ensure that the “ingress.tanzu.vmware.com” capability is enabled in the Space by selecting a profile with this capability enabled.
Create a route
To create a route using the Tanzu Platform UI:
- Navigate to Spaces > Overview.
- Click the Space where you want to create the route.
- Navigate to the Ingress tab. You will see one or more route cards.
- Click Create Route.
-
Configure the basic information for the route as follows:
Field Instructions Name Enter a descriptive name for this binding Path Enter the path information Backend Type Select Container App or Service Backend Name Enter the name of the Container App or Service Port Specify the port -
(Optional) Configure the advanced settings:
Field Instructions EntryPoint Specify an EntryPoint
name. Entry points provide aliases that your HTTP/TCP routes can refer to. If omitted, the platform defaults tomain
.
Edit a route
After you create a route, to edit it using the Tanzu Platform UI:
- Navigate to Spaces > Overview.
- Click the Space that has the route you want to edit.
- Click the Ingress tab.
- Locate the route you want to edit.
- Click the vertical ellipsis at the top-right of the card.
- From the drop-down menu, click Edit.
- Enter the new route information.
- Click Save.
Delete a route
To delete a route using the Tanzu Platform UI:
- Navigate to Spaces > Overview.
- Click the Space that has the route you want to delete.
- Click the Ingress tab.
- Locate the route you want to delete.
- Click the vertical ellipsis at the top-right of the card.
- From the drop-down menu, click Delete.
- In the confirmation dialog box, click Delete.
Content feedback and comments