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:
Go to Kubernetes infrastructure to configure a Kubernetes infrastructure definition.
Go to Helm infrastructure to configure a Helm infrastructure definition.
Go to Serverless infrastructure to configure a Serverless infrastructure definition.
Go to Google Cloud Run infrastructure to configure a Google Cloud Run infrastructure definition.
Go to Google Cloud Functions infrastructure to configure a Google Cloud Functions infrastructure definition.
Go to Lambda infrastructure to configure an AWS Lambda infrastructure definition.
Go to SAM infrastructure to configure an AWS SAM infrastructure definition.
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?