Updated on 2025-04-25 GMT+08:00

Updating a Service Route

Updating a Service Route on the Console

To update a service route on the console, perform the following steps:

  1. Log in to the UCS console. In the navigation pane, choose Service Meshes.
  2. Click the name of the target service mesh to go to its details page.
  3. In the navigation pane, choose Traffic Governance > Service Router.
  4. Click Edit YAML in the Operation column.
  5. Configure the parameters as required. For example, the following describes how to modify the URI for a service route:

    apiVersion: networking.istio.io/v1beta1
    kind: VirtualService
    metadata:
      name: ratings-route
    spec:
      hosts:
      - ratings.prod.svc.cluster.local
      http:
      - match:
        - headers:
            end-user:
              exact: jason
          uri:               # Modify the URI for the service route.
            prefix: /ratings
        route:
        - destination:
            host: ratings.prod.svc.cluster.local