1 - Delegate and Connectors for PCF

Updated 1 month ago by Michael Cretzman

This topic sets up the Harness Delegate in your PCF environment, Artifact Server to connect to your artifact repo, and the Cloud Provider used to connect to your PCF cloud for deployment.

In this topic:

Harness Delegate

The Harness Delegate is a service you run in your local network or VPC to connect your artifact servers, PCF infrastructure, and any other providers with the Harness Manager.

If you are running your PCF Cloud in AWS, you can use a Shell Script Delegate run on an EC2 instance in the same VPC and subnet as your PCF Cloud, or an ECS Delegate run in an ECS cluster in the same VPC.

For information on setting up Harness Delegates, see Delegate Installation and Management.

If you want to install the CF CLI on the Delegate, use a Harness Delegate Profile and the script shown in Cloud Foundry CLI.

PCF Cloud Provider

A Harness PCF Cloud Provider connects Harness to your PCF account and allows the Harness Delegate to make API calls.

The PCF dialog has the following fields.



Display Name

Provide a unique name for this connection. You will use this name to select this connection when creating a Service Infrastructure/Infrastructure Definition for your deployment.

Endpoint URL

Enter the API endpoint URL, without URL scheme. For example, api.run.pivotal.io. Omit http://.For more information, see Identifying the API Endpoint for your PAS Instance from Pivotal.

Username / Password

Username and password for the PCF account to use for this connection.

Usage Scope

If you want to restrict the use of a provider to specific applications and environments, do the following:

In Usage Scope, click the drop-down under Applications, and click the name of the application.

In Environments, click the name of the environment.

PCF Permissions

PCF user account with Admin, Org Manager, or Space Manager role. The user account must be able to update spaces, orgs, and applications.

For more information, see Orgs, Spaces, Roles, and Permissions from Pivotal.

For steps on setting up all Cloud Providers, see Add Cloud Providers.

Artifact Server

Harness integrates with many different types of repositories and artifact providers. We call these Artifact Servers, and they help you pull your artifacts into your Harness Applications.

Once you set up an Artifact Server, Harness can pull artifacts and add them to the Harness Service you will deploy to PCF.

For steps on setting up an Artifact Server, Add Artifact Servers.

Next Step

How did we do?