Updated on 2024-01-15 GMT+08:00

FunctionGraph Grayscale Release

This action supports version switching and grayscale release based on the function alias mechanism of FunctionGraph.

Prerequisites

You have FunctionGraph operation permissions.

Procedure

Table 1 Parameters

Parameter

Description

Action Name

Name of an action displayed in the deployment actions area.

Deployment Tenant

  • Current tenant: The software package is deployed in the FunctionGraph extension of the current tenant for release.

    Select Current tenant. The current tenant must have the FunctionGraph operation permission. If the current tenant does not have the FunctionGraph operation permission, select IAM authorization for deployment.

  • Other tenant: The software package is deployed and published in the FunctionGraph of another tenant in IAM authorization mode.

    If you select Other tenant, you must select an authorized tenant for FunctionGraph deployment.

NOTE:

You are advised to configure the AK/SK of a member account with FunctionGraph operation permissions and not advised to configure the AK/SK of a tenant account.

IAM authorization

If the current user does not have the FunctionGraph operation permissions, you can use IAM to authorize the user.

Function Name

For details about the function created in FunctionGraph, see Quickly Creating a FunctionGraph Function.

Function Alias

Alias of a function. A function alias can be bound to two versions (including one grayscale release version). In addition, you can configure traffic distribution weights for two versions under the same alias. Only one alias can be created for each version.

Version

You can use an alias to call a function of the corresponding version. Only one alias can be created for each version.

Turn on grayscale version

The grayscale release version can distribute the traffic of the main version. You can control how much traffic to distribute with a weight. For more information, see Managing Versions.

Control Options

  • Enable this action.
  • Continue the task even if this action fails.