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

Updating a Grayscale Release

Procedure

  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 Service Center > Mesh Services.
  4. Click the service name to go to the details page.
  5. Click the tab for displaying grayscale releases and select the grayscale release update option.
  6. Update the parameters listed in the following table.

    Table 1 Matching condition parameters

    match

    Matching conditions

    Parameters

    HTTP service routing

    URI

    Identifier of a specific resource, which is of the StringMatch type and can be formatted based on the exact, prefix, or regular expression match.

    Enter a URI. You can choose whether to enable Ignore URL case.

    Scheme

    Protocol used for data collection, which is of the StringMatch type and can be formatted based on the exact, prefix, or regular expression match.

    Enter a scheme.

    Method

    HTTP method, which is of the StringMatch type and can be formatted based on the exact, prefix, or regular expression match.

    Enter a method.

    Authority

    HTTP authority, which is of the StringMatch type and can be formatted based on the exact, prefix, or regular expression match.

    Enter an authority.

    headers

    cookie

    An HTTP cookie used to calculate the hash value, which can be formatted based on the exact, prefix, or regular expression match.

    Enter a value.

    Custom

    An HTTP header used to calculate the hash value, which can be formatted based on the exact, prefix, or regular expression match.

    Enter a key-value pair.

    grayRelease.type.headers.userAgent

    Select a user agent as required.

    port

    Port on the host that is being addressed. Select an available port number from the drop-down list.

    queryParams

    Query parameter for matching the URL, which can be formatted based on the exact, prefix, or regular expression match.

    Enter a key-value pair.

    sourceLabels

    One or more labels that constrain the applicability of a rule to source (client) workloads with the given labels. Enter a key-value pair of the Map type.

    sourceNamespace

    Source namespace constraining the applicability of a rule to workloads in that namespace.

    TLS service routing

    sniHost

    Server Name Indication (SNI) to match on. An SNI value must be a subset of the corresponding virtual service's hosts.

    destinationSubnets

    IPv4 or IPv6 IP addresses of destination with optional subnet.

    port

    Port on the host that is being addressed.

    sourceLabels

    One or more labels that constrain the applicability of a rule to source (client) workloads with the given labels. Enter a key-value pair of the Map type.

    sourceNamespace

    Source namespace constraining the applicability of a rule to workloads in that namespace.

    TCP service routing

    destinationSubnets

    IPv4 or IPv6 IP addresses of destination with optional subnet.

    port

    Port on the host that is being addressed.

    sourceLabels

    One or more labels that constrain the applicability of a rule to source (client) workloads with the given labels. Enter a key-value pair of the Map type.

    sourceNamespace

    Source namespace constraining the applicability of a rule to workloads in that namespace.

    Table 2 Target service parameters

    Target Service

    Target services

    Parameters

    Version

    weight

    HTTP service routing

    Select a service subset.

    Percentage of traffic received by an instance. The value must range from 0 to 100.

    TLS service routing

    TCP service routing

  7. Click Submit.
  8. Confirm the settings and click Submit.