Add Environment

After adding a Service to your Application, define Environment to deploy your Service. Environment represents your deployment infrastructures, such as Dev, QA, Stage, Production, etc.

In this topic:

Before You Begin

Step 1: Add an Environment

To add an environment, do the following:

  1. Click Setup.
  2. Click an Application.
  3. Click Environments.
  4. Click Add Environment. The Environment dialog appears.
  1. Enter a name and description for the Environment. For example, the name DEV with the description: This is the development environment for example.com.
  2. In Environment Type, choose Production or Non-Production.
  3. Click Submit. The Environment Overview appears. Here you can add the Service Infrastructure and overrides to the configurations of the Services that use this Environment.

Step 2: Add Infrastructure Definition

The Infrastructure Definition is where you specify the target infrastructure for your deployment. The target infrastructure can be an existing infrastructure or an infrastructure provisioner, such as Terraform or CloudFormation. For detailed information on adding Infrastructure Definition, see Add an Infrastructure Definition.

Step 3: Override a Service Configuration

For information about how a Service configuration is overwritten in a Kubernetes deployment, see Override Harness Kubernetes Service Settings.

You can configure your Environment to override settings of the Services that use the Environment. For example, a Service might use a specific values.yaml file, but your Environment might need to change the name and namespace of the Deployment object because it is deploying the Service to a QA Environment.

To override a Service configuration, do the following:

  1. In an Application, open an Environment.
  2. Click Add Configuration Overrides. The Service Configuration Override dialog appears.
  3. In Service, click the name of the Service you want to override. Depending on the type of Service you select, the Override Type options will be different. Here is an example of the options available when a Service with Kubernetes type is used.
  4. Click an Override Type option.
  5. Enter the override and click SUBMIT.

Step 4: Add Service Verification

24/7 Service Guard applies Harness Continuous Verification unsupervised machine-learning to detect regressions and anomalies across transactions and events for the service and displays the results in the 24/7 Service Guard dashboard. For detailed information on adding Service Verification, see Set Up Service Guard.

Next Steps


How did we do?