For the complete documentation index, see llms.txt. This page is also available as Markdown.

Infrastructure definitions

Understand how infrastructure definitions let an environment target the clusters, namespaces, or hosts where Harness deploys.

An infrastructure definition points to the specific cluster, namespace, host, or cloud account where the Delegate runs a deployment. An environment can contain multiple infrastructure definitions. For example, a production environment might have five infrastructure definitions representing five Kubernetes clusters. When you select an environment in a pipeline stage, you choose which infrastructure definition to use for that deployment.


View and create infrastructure definitions

On an environment's detail page, select the Infrastructure Definitions tab to see every infrastructure definition in that environment. Select + Create infrastructure to add one.


Configure an infrastructure definition by deployment type

The fields in an infrastructure definition depend on the deployment type of the services you deploy to the environment. Go to the infrastructure page for your deployment type to configure it:


Next steps

  • Go to Environment groups to deploy a service to a group of environments in one step.

  • Go to Failure strategy to configure what happens when environment or infrastructure resolution fails.

Last updated

Was this helpful?