Skip to content

Latest commit

 

History

History
54 lines (27 loc) · 2.67 KB

File metadata and controls

54 lines (27 loc) · 2.67 KB

Create Spaces Using the Cloud Foundry Command Line Interface

Use the cf create-space command to create spaces in your Cloud Foundry organization using the Cloud Foundry Command Line Interface (cf CLI).

  1. Make sure that you are in the Cloud Foundry organization you want to add a space to.

    cf target -o ORG
    

    To get a list of your organizations, call cf orgs.

  2. Enter the following string, specifying a name for the new space, the name of the organization, and the quota you'd like to assign to it:

    cf create-space SPACE [-o ORG] [-q SPACE_QUOTA]
    
  3. (Optional) Set this space as target by executing: cf target -o ORG -s SPACE

    Note:

    If you are assigned to only one Cloud Foundry organization and space, the system automatically targets you to the relevant Cloud Foundry organization and space when you log on.

Related Information

Delete Spaces Using the Cloud Foundry Command Line Interface

Create Spaces Using the Cockpit