Using PagerDuty Service Broker for PCF
This topic describes how to use PagerDuty Service Broker for Pivotal Cloud Foundry (PCF).
Log in to your deployment and target the org and space where you installed PagerDuty Service Broker for PCF.
$ cf login $ cf target -o YOUR-ORG -s YOUR-SPACE
List the marketplace services and locate the PagerDuty service shown as
$ cf marketplace
Create an instance of the PagerDuty service, replacing
SERVICE-NAMEwith your preferred service instance name.
$ cf create-service p-pagerduty standard SERVICE-NAME
Bind the PagerDuty service instance to an app, replacing
APP-NAMEwith your app name and
SERVICE-NAMEwith your service instance name.
$ cf bind-service APP-NAME SERVICE-NAME
Restage the app for the service binding to take effect, replacing
APP-NAMEwith your app name.
$ cf restage APP-NAME
VCAP_SERVICESenvironment variable of your app now contains links to documentation to help you to connect the app to PagerDuty. The documentation is also available directly on the PagerDuty website.
$ cf env APP-NAME