Delegate Registration and Verification

Updated 3 months ago by Michael Cretzman

To set up a Harness Delegate, you install the Delegate in your environment and the Delegate automatically registers with your Harness account.

The Delegate config file (for example, Kubernetes Delegate YAML file) contains your Harness account Id. That's how the Delegate knows where to register.

Installing and Registering Delegates

To install a Delegate, follow the steps in the relevant Delegate installation topic, such as Install a Kubernetes Delegate or Install a Docker Delegate.

Once you have installed the Delegate in your environment, click Verify in the Delegate wizard and Harness will verify that it is receiving heartbeats from the Delegate.

This means Harness is waiting for the Delegate you installed to register.

Registration can take a few minutes.

Once the Delegate registers, the Verify screen will indicate that the Delegate is running.

Verifying Delegate Registration Manually

The Verify screen also includes troubleshooting steps.

Here are a few of the steps for the Kubernetes Delegate.

Check the status of the Delegate on your cluster:

kubectl describe pod <your-delegate-pod> -n harness-delegate

Check the Delegate logs:

kubectl logs -f <harness-delegate> -n harness-delegate

If the pod isn't up, you might see the following error in your cluster:

CrashLoopBackOff: Kubernetes Cluster Resources are not available.

Make sure the Kubernetes Cluster Resources (CPU, Memory) are enough.

If the Delegate didn’t reach a healthy state, try this:

kubectl describe pod <your-delegate-pod> -n harness-delegate


Please Provide Feedback