Profile lifecycle management
tanzu profile [command]
profile, profiles, pr
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
--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)
-h, --help help for profile
Create a profile with specified configuration.
Profile configuration options include:
tanzu profile create [name] [flags]
tanzu profile create --file profile.yaml
--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
Delete a profile.
tanzu profile delete [name] [flags]
tanzu profile delete my-profile
-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
Generate a profile manifest with specified configuration.
Profile configuration options include: - Packages to be included in the profile (can be provided multiple times)
tanzu profile generate [name] [flags]
tanzu profile generate NAME
tanzu profile generate NAME --trait TRAIT
--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)
Get details from a profile in the current workspace.
tanzu profile get [name] [flags]
tanzu profile get my-profile
-e, --export export profile in yaml format
-h, --help help for get
-o, --output string output the profile formatted. Supported formats: "json", "yaml", "yml"
List the profiles in the current workspace.
tanzu profile list [flags]
tanzu profile list
tanzu profile list --output yaml
tanzu profile list --wide
-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