Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 1.3 KB

trouble-shooting-and-other-cf-commands.md

File metadata and controls

77 lines (53 loc) · 1.3 KB

Trouble shooting and other useful PCF CLI commands

Show Market place services

cf marketplace

Show services instances

cf services
name          service   plan    bound apps   last operation
workshop-db   cleardb   spark                create succeeded

Show info about config server

cf service workshop-config-server

Show info about Database Service instance

cf service workshop-db

Show info about Config Server Service instance

cf service workshop-config-server

Unbind app from service

cf unbind-service APP_NAME SERVICE_INSTANCE
cf unbind-service workshop-fortune-service workshop-config-server

Remove a service

cf delete-service SERVICE_INSTANCE
cf delete-service workshop-config-server

Show applications

cf apps

Delete application

cf delete APP_NAME

Scale up a service to 2 instances

cf scale APP_NAME [-i INSTANCES]

Documentation

Using the Cloud Foundry Command Line Interface (cf CLI) Cloud Foundry CLI Reference Guide Managing Service Instances with the cf CLI