Adding and Editing Inline PCF Manifest Files
When you create the PCF Service, the Manifests section is created and the default manifest.yml and vars.yml files are added.
In this topic:
- Before You Begin
- Visual Summary
- Step 1: Edit values.yaml file
- Step 2: Edit deployment.yaml file
- Next Steps
Before You Begin
Here is an example showing how the variables in manifest.yml are given values in vars.yml:
hostin your vars.yml file and
- route: ((host)).env.comin your manifest.yml file.
PCF Manifest deployments are a common PCF strategy. You can learn more about it in Deploying with App Manifests from Pivotal.
Harness supports all of the typical features of PCF manifests, as described in Deploying with App Manifests from Pivotal, but to deploy multiple apps, you will need to use multiple Harness Services.
Step 1: Edit vars.yaml file
This file contains the following default variables and values:
These are referenced in the manifest.yaml file.
Change the PCF App Name
You can change the PCF app name here if you do not want Harness to generate one using a concatenation of the Harness Application, Service, and Environment names (
You can add more variables in vars.yaml and override them as described in Using Harness Config Variables in PCF Manifests.
Step 2: Edit manifest.yaml file
Define the default name, memory limit, and number of instances.
You can override variable values such as
((INSTANCES)) in the vars.yml file.