Updated on 2024-09-04 GMT+08:00

Configuring an Environment

In the host deployment scenario, you can add, delete, and modify the environment of the application on the Environment Management tab page. This section describes how to configure the environment of the application.

Procedure

  1. Select the target application, click , and click Edit. The Deployment Actions page is displayed.
  2. Click the Environment Management tab.
  3. Create an environment.

    1. Click Create Environment, set the following parameters, and click Save.

      Parameter

      Mandatory

      Description

      Environment

      Yes

      User-defined environment name.

      Resource Type

      Yes

      You can choose Host or Kubernetes (available soon) based on the environment requirements.

      OS

      Yes

      Choose Linux or Windows as the operating system for the host.

      Description

      No

      Enter a description of the environment.

    2. Click Import Host. The system automatically filters all clusters that meet the requirements of the current environment. Select a target host cluster and import a host to the environment in either of the following ways:

      Import separately: Click in the Operation column of a host to import the host to the environment.

      Import in batches: Select multiple hosts and click Import.

      If you import a target host bound to a proxy host, the proxy host will be imported to the environment automatically.

    3. (Optional) After the host is imported, click on the page to verify the connectivity.

  4. Modify an environment.

    1. Edit the environment.
    2. Edit the host cluster.
      • Editing an environment: Click in the Operation column of an environment to modify the environment name and description.
      • Deleting an environment: Click in the Operation column of an environment, and click Yes.
      • Managing permissions: Click in the Operation column of an environment to configure operation permissions for each role. Enable or disable permissions as required.

      Default Permissions of a Host Cluster

      Role/Permission

      View

      Edit

      Delete

      Deploy

      Manage Permissions

      Environment creator

      Yes (cannot be changed)

      Yes (cannot be changed)

      Yes (cannot be changed)

      Yes (cannot be changed)

      Yes (cannot be changed)

      Project creator

      Yes (cannot be changed)

      Yes (cannot be changed)

      Yes (cannot be changed)

      Yes (cannot be changed)

      Yes (cannot be changed)

      Project manager

      Yes

      Yes

      Yes

      Yes

      Yes

      Product manager

      Yes

      No

      No

      No

      No

      Test manager

      Yes

      No

      No

      No

      No

      O&M manager

      Yes

      Yes

      Yes

      Yes

      Yes

      System engineer

      Yes

      Yes

      Yes

      Yes

      No

      Committer

      Yes

      Yes

      Yes

      Yes

      No

      Developer

      Yes

      Yes

      Yes

      Yes

      No

      Tester

      Yes

      No

      No

      No

      No

      Participant

      Yes

      No

      No

      No

      No

      Viewer

      Yes

      No

      No

      No

      No

    3. Edit the host in the environment.
      • Verifying host connectivity in batches: Select multiple hosts and click .
      • Enabling network connectivity verification: Click in the Operation column of a host.
      • Deleting a host: Click in the Operation column of a host, click Delete, and click OK.

        A proxy host cannot be deleted directly. A proxy host is deleted, when its last target host is deleted from the environment.

  5. After modifying all information, click Save.