Updated on 2024-12-16 GMT+08:00

Configuring VM Settings

  • Adding a Component Environment Variable

    Environment variables are set in the container running environment and can be modified during Upgrading a Component in Rolling Release Mode after component deployment to ensure application flexibility. Environment variables set for a component are local environment variables and take effect only for this component.

    If you add an application environment variable to the application where the component is located and the name of the application environment variable is the same as that of the component environment variable in the application, the application environment variable is shielded by the component environment variable and does not take effect for the component. For details about how to add application environment variables, see Managing Application Environment Variables.

  • Adding a Configuration Item

    If the component source is a package during Creating and Deploying a Component Based on a VM, you can set the component configuration items by referring to this section.

Adding a Component Environment Variable

  1. Click Add Environment Variable.
  2. Enter a key and value.

    The key must be unique in a component. Enter 1 to 64 characters. Do not start with a digit or period (.). Only use letters, digits, underscores (_), hyphens (-), and periods (.).

Adding a Configuration Item

  1. Click Adding a Configuration Item.
  2. Enter a key and value.

    The key must be unique in a component. Enter 1 to 64 characters. Do not start with a digit or period (.). Only use letters, digits, underscores (_), hyphens (-), and periods (.).