Pivotal Cloud Foundry Overview

Updated 2 weeks ago by Michael Cretzman

Harness provides support for the Pivotal Cloud Foundry (PCF) app development and deployment platform for public and private clouds. This guide describes how to deploy your containers to PCF using Harness, including route mapping.

Walk through this guide in the following order:

  1. Deployment Overview
  2. Delegate and Connectors for PCF
  3. Services for PCF
  4. PCF Environments
  5. PCF Workflows and Deployments

Deployment Overview

Setting up a PCF deployment in Harness is a simple process where you connect Harness to your artifact repo and PCF cloud, and then define the artifacts, PCF manifest, and target infrastructure, including route maps. Next you build Harness Workflows to deploy your artifacts to target infrastructure, including route map and unmap commands.

The following list describes the major steps we will cover in this guide:

  1. Delegate - Install the Harness Delegate on a host in your target VPC, such as an EC2 instance in AWS.
  2. PCF Cloud Provider - Add the PCF Cloud Provider. This is a connection to your PCF account. The PCF Cloud Provider uses your user account and the PCF API endpoint address.
  3. Harness Application - Create the Harness Application for your PCF CD pipeline. The Harness Application represents your PCF release process, and all the building blocks for its pipelines. Harness represents your PCF deployment using a logical group of one or more entities: Services, Environments, Workflows, Pipelines, Triggers, and Infrastructure Provisioners. Applications organize all of the entities and configurations in Harness CD.
  4. Harness Service - Create the Harness Service using the Pivotal Cloud Foundry type.
    1. Set up your PCF artifact source, manifest, and any config variables and files.
  5. Harness Environment - Create the Harness Environment containing the Service Infrastructure definition of your deployment environment, and any overrides of Service settings.
  6. Harness Workflow - Create the Canary or Blue/Green deployment Harness Workflow. This Workflow will deploy the Service (your PCF artifact and manifest) to the Environment.
  7. Deploy the Workflow.
  8. Advanced options not covered in this guide:
    1. Harness Pipeline - Create a Harness Pipeline for your deployment, including Workflows and Approval steps.
    2. Harness Trigger - Create a Harness Trigger to automatically deploy your Workflows or Pipeline according to your criteria. Typically, customers use a Trigger to execute a PCF Pipeline using the Trigger's On New Artifact condition. For more information, see Triggers.
    3. Harness Infrastructure Provisioners - Create Harness Infrastructure Provisioners, such as CloudFormation and Terraform, for your deployment environments. For more information, see Infrastructure Provisioners.
    4. Continuous Verification:
      1. Deployment Verification - Once you have successfully deployed you can add your APM and logging apps as Verification Providers, and then add Verify Steps to your Workflows. Harness will use its machine-learning to find anomalies in your deployments. For more information, see Continuous Verification.
      2. 24/7 Service Guard - Monitor your live applications, catching problems that surface minutes or hours following deployment. For more information, see 24/7 Service Guard.

Next Step


How did we do?