Tekton install

参考 https://github.com/tektoncd/pipeline/blob/main/docs/install.md

kubectl apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml

查看状态

kubectl get pods --namespace tekton-pipelines --watch

安装 dashboard

kubectl apply --filename https://storage.googleapis.com/tekton-releases/dashboard/latest/tekton-dashboard-release.yaml

可以通过 proxy 来访问

kubectl proxy
http://localhost:8001/api/v1/namespaces/tekton-pipelines/services/tekton-dashboard:http/proxy/

当然也可以使用 port-forward

kubectl --namespace tekton-pipelines port-forward svc/tekton-dashboard 9097:9097
http://localhost:9097

安装 CLI

curl -LO https://github.com/tektoncd/cli/releases/download/v0.20.0/tkn_0.20.0_Linux_x86_64.tar.gz
sudo tar xvzf tkn_0.20.0_Linux_x86_64.tar.gz -C /usr/local/bin/ tkn
Send a Message