Updated on 2024-05-06 GMT+08:00

Mesher

Perform the following steps to create a secret named mesher-secret. Before creating a secret, you need to:

  1. Obtain the AK/SK. For details, see Obtaining the AK/SK and Project Name.
  2. Perform Base64 encoding on the obtained AK/SK.

    You can directly run the echo -n 'content to be encoded' | base64 command. The following is an example:

    root@ubuntu:~# echo -n '3306' | base64
    MzMwNg==

    In the preceding example, 3306 is the content to be encoded.

Procedure

  1. Log in to ServiceStage.
  2. Add a secret. For details, see Managing Secrets.

    1. Select Visualization for Creation Mode.
    2. Enter mesher-secret in Name.
    3. Cluster: Select the cluster where the application is deployed.
    4. Namespace: Select the namespace where the application is deployed.
    5. Select Opaque for Secret Type.
    6. Set Secret Data according to the following table.
      Table 1 Secret data

      Key

      Value

      cse_credentials_accessKey

      Base64-encoded AK.

      cse_credentials_secretKey

      Base64-encoded SK.