Manages Tanzu spaces. A Tanzu space is a runtime environment for developing and deploying Kubernetes apps. To support the apps that it hosts, a Tanzu space supports:
Spaces are configured with:
CLI plugin: space
| Target: global
| Primarily used for: App development | Release Notes
Syntax:
tanzu space [command]
space, spaces
create Create a Space with specified configuration
delete Delete a space
generate Generate a Space manifest with specified configuration.
get Get details from a space
list List the Spaces in the current workspace
use Use a specific space
-h, --help help for space
--no-color deactivate color, bold, animations, and emoji output
--project name name of the project to use when creating resources or switching spaces (default is project name from current Tanzu Platform context)
-v, --verbose int32 number for the log level verbosity (default 1)
Create a Space with specified configuration.
Space configuration options include:
tanzu space create [name] [flags]
tanzu space create NAME
tanzu space create NAME --profile PROFILE
tanzu space create NAME --availability-target AVAILABILITY_TARGET
tanzu space create NAME --profile PROFILE --availability-target AVAILABILITY_TARGET
tanzu space create NAME --profile PROFILE --availability-target AVAILABILITY_TARGET --update-strategy UPDATE_STRATEGY
-t, --availability-target strings availability target to be included in the space specification. (can be repeated, e.g., --availability-target reference1 --availability-target reference2)
--cpu string cpu units to be included in the space specification.
--dry-run print kubernetes resources to stdout instead of applying them to the cluster. note: messages typically directed to stdout will be sent to stderr
-h, --help help for create
--memory string memory size to be included in the space specification.
-p, --profile strings profile to be included in the space specification. (can be repeated, e.g., --profile reference1 --profile reference2)
--update-strategy string update strategy to be included in the space specification.
-y, --yes accept all prompts
Delete a space.
tanzu space delete [name] [flags]
tanzu space delete my-space
-f, --file file path file path containing the description of a single space to be deleted. Use value "-" to read from stdin
-h, --help help for delete
-y, --yes accept all prompts
Generate a Space manifest with specified configuration.
Space configuration options include:
tanzu space generate [flags]
tanzu space generate NAME
tanzu space generate NAME --profile PROFILE
-t, --availability-target strings availability target to be included in the space specification. (can be repeated, e.g., --availability-target reference1 --availability-target reference2)
--cpu string cpu units to be included in the space specification.
-h, --help help for generate
--memory string memory size to be included in the space specification.
-p, --profile strings profile to be included in the space specification. (can be repeated, e.g., --profile reference1 --profile reference2)
--update-strategy string update strategy to be included in the space specification.
Get details from a space in the current workspace.
tanzu space get [name] [flags]
tanzu space get NAME
-e, --export export Space in yaml format
-h, --help help for get
-o, --output string output the Space formatted. Supported formats: "json", "yaml", "yml"
List the Spaces in the current workspace.
Space configuration options include:
tanzu space list [flags]
tanzu space list
tanzu space list --output yaml
tanzu space list --wide
-h, --help help for list
-o, --output string output the Spaces formatted. Supported formats: "json", "yaml", "yml"
-w, --wide output the space list with additional information
Use a specific space in the current workspace.
tanzu space use [name] [flags]
tanzu space use NAME
-h, --help help for use