Version 2.2

kf create-space

Name

kf create-space - Create a Space with the given name.

Synopsis

kf create-space NAME [flags]

Examples

  kf create-space my-space --container-registry gcr.io/my-project --domain myspace.example.com --build-service-account myserviceaccount

Flags

--build-service-account=string
Service account that Builds will use.
--container-registry=string
Container registry built Apps and source code will be stored in.
--domain=stringArray
Sets the valid domains for the space. The first provided domain is the default.
-h, --help
help for create-space

Inherited flags

These flags are inherited from parent commands.

--as=string
Username to impersonate for the operation.
--as-group=strings
Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.
--config=string
Path to the Kf config file to use for CLI requests.
--kubeconfig=string
Path to the kubeconfig file to use for CLI requests.
--log-http
Log HTTP requests to standard error.
--space=string
Space to run the command against. This flag overrides the currently targeted Space.