部署 tkn v0.33.0
下载 tkn 安装包
# wget https://github.com/tektoncd/cli/releases/download/v0.33.0/tektoncd-cli-0.33.0_Linux-64bit.deb
安装 tkn
# sudo dpkg -i tektoncd-cli-0.33.0_Linux-64bit.deb
查看版本信息
# tkn version
Client version: 0.33.0
Pipeline version: v0.54.0
Dashboard version: v0.41.0
查看 tkn 使用帮助
# tkn -h
CLI for tekton pipelines
Usage:
tkn [flags]
tkn [command]
Available Commands:
bundle* Manage Tekton Bundles (experimental)
chain Manage Chains
clustertask Manage ClusterTasks
clustertriggerbinding Manage ClusterTriggerBindings
eventlistener Manage EventListeners
hub Interact with tekton hub
pipeline Manage pipelines
pipelinerun Manage PipelineRuns
task Manage Tasks
taskrun Manage TaskRuns
triggerbinding Manage TriggerBindings
triggertemplate Manage TriggerTemplates
Other Commands:
completion Prints shell completion scripts
version Prints version information
Flags:
-h, --help help for tkn
Use "tkn [command] --help" for more information about a command.
参考文档
https://tekton.dev/docs/cli/