tanzu project

Manages Tanzu projects. A Tanzu project is a compartment within an organization that defines infrastructure resources for a set of users or groups within an organization, and designates access to and billing for those resources.

Usage

CLI plugin: project | Target: kubernetes | Primarily used for: App development | Release Notes

Syntax:

  tanzu project [command]
  tanzu kubernetes project [command]

Aliases

  project, projects

Commands

  apply         Apply configuration to a new or existing project
  create        Create a project with specified configuration
  delete        Delete a project
  get           Get details from a project
  list          List the projects in the current workspace.
  use           Use a specific project

Global Flags

  -h, --help            help for project
      --no-color        deactivate color, bold, animations, and emoji output
  -v, --verbose int32   number for the log level verbosity (default 1)

tanzu project apply

Apply configuration to a new or existing project

Usage

  tanzu project apply [flags]
  tanzu kubernetes project apply [flags]

Examples

  tanzu project apply --file project.yaml
  tanzu project apply NAME

Flags

  --dry-run              print kubernetes resources to stdout rather than apply them to the cluster, messages normally on stdout will be sent to stderr
  -f, --file file path   file path containing the description of a single project. Use value "-" to read from stdin
  -h, --help             help for apply
  -y, --yes              accept all prompts

tanzu project create

Create a project with specified configuration

Usage

  tanzu project create [flags]
  tanzu kubernetes project create [flags]

Examples

  tanzu project create --file project.yaml
  tanzu project create NAME

Flags

  --dry-run              print kubernetes resources to stdout rather than apply them to the cluster, messages normally on stdout will be sent to stderr
  -f, --file file path   file path containing the description of a single project. Use value "-" to read from stdin
  -h, --help             help for create
  -y, --yes              accept all prompts

tanzu project delete

Delete a project

Usage

  tanzu project delete [flags]
  tanzu kubernetes project delete [flags]

Examples

  tanzu project delete --file project.yaml
  tanzu project delete NAME

Flags

  -f, --file file path   file path containing the description of a single project. Use value "-" to read from stdin
  -h, --help             help for delete
  -y, --yes              accept all prompts

tanzu project get

Get details from a project

Usage

  tanzu project get [flags]
  tanzu kubernetes project get [flags]

Examples

  tanzu project get NAME

Flags

  -h, --help            help for get
  -o, --output string   output the project formatted. Supported formats: "json", "yaml", "yml"

tanzu project list

List the projects in the current workspace.

Project list configuration options include:

  • Output the project formatted

Usage

  tanzu project list [flags]
  tanzu kubernetes project list [flags]

Examples

  tanzu project list
  tanzu project list --output yaml

Flags

  -h, --help            help for list
  -o, --output string   output the projects formatted. Supported formats: "json", "yaml", "yml"

tanzu project use

Use a specific project in the current workspace.

Usage

  tanzu project use [flags]
  tanzu kubernetes project use [flags]

Examples

  tanzu project use NAME

Flags

  -h, --help   help for use
check-circle-line exclamation-circle-line close-line
Scroll to top icon