Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.03 KB

tkn_version.md

File metadata and controls

46 lines (28 loc) · 1.03 KB

tkn version

Prints version information

Usage

tkn version

Synopsis

Prints version information

Examples

Print version information as JSON:

	tkn version -o json

Print version information as YAML:

	tkn version -o yaml

Print the pipeline component version as JSON:

	tkn version --component pipeline -o json

Options

      --check               check if a newer version is available
      --component string    provide a particular component name for its version (client|chains|pipeline|triggers|dashboard)
  -c, --context string      name of the kubeconfig context to use (default: kubectl config current-context)
  -h, --help                help for version
  -k, --kubeconfig string   kubectl config file (default: $HOME/.kube/config)
  -n, --namespace string    namespace to check installed controller version
  -C, --no-color            disable coloring (default: false)
  -o, --output string       Output format. One of: json|yaml

SEE ALSO

  • tkn - CLI for tekton pipelines