tanzu profile

Profile lifecycle management

Usage

  tanzu profile [command]

Aliases

  profile, profiles, pr

Commands

  create      Create a profile with specified configuration
  delete      Delete a profile
  generate    Generate a profile manifest with specified configuration.
  get         Get details from a profile
  list        List the profiles in the current workspace

Global Flags

      --no-color       deactivate color, bold, animations, and emoji output
      --project name   name of the project to use when creating or getting resources (default is project name from current Tanzu Platform context)

Flags

  -h, --help   help for profile

tanzu profile create

Create a profile with specified configuration.

Profile configuration options include:

  • Traits to be included in the profile (can be provided multiple times)
  • Required capability (can be provided multiple times)

Usage

  tanzu profile create [name] [flags]

Examples

  tanzu profile create --file profile.yaml

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 profile. Use value "-" to read from stdin
  -h, --help             help for create
  -y, --yes              accept all prompts

tanzu profile delete

Delete a profile.

Usage

  tanzu profile delete [name] [flags]

Examples

  tanzu profile delete my-profile

Flags

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

tanzu profile generate

Generate a profile manifest with specified configuration.

Profile configuration options include: - Packages to be included in the profile (can be provided multiple times)

Usage

  tanzu profile generate [name] [flags]

Examples

  tanzu profile generate NAME
  tanzu profile generate NAME --trait TRAIT

Flags

      --exclude-all                   Add all the package values to "ExcludedKeys" list
  -h, --help                          help for generate
  -r, --required-capability strings   required capability to be included in the profile specification. (can be repeated, e.g., --required-capability reference1 --required-capability reference2)
  -t, --trait strings                 trait to be included in the profile specification. (can be repeated, e.g., --trait reference1 --trait reference2)

tanzu profile get

Get details from a profile in the current workspace.

Usage

  tanzu profile get [name] [flags]

Examples

  tanzu profile get my-profile

Flags

  -e, --export          export profile in yaml format
  -h, --help            help for get
  -o, --output string   output the profile formatted. Supported formats: "json", "yaml", "yml"

tanzu profile list

List the profiles in the current workspace.

Usage

  tanzu profile list [flags]

Examples

  tanzu profile list
  tanzu profile list --output yaml
  tanzu profile list --wide

Flags

  -h, --help            help for list
  -o, --output string   output the profiles formatted. Supported formats: "json", "yaml", "yml"
  -w, --wide            output the profile list with additional information
check-circle-line exclamation-circle-line close-line
Scroll to top icon