Tekton安装

简介: Tekton安装


适用版本:v0.32.4ack 1.20.11

dashboard版本:v0.27.0

下载安装文件

wget  https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.32.4/release.yaml -O tekton-pipeline-release.yaml

wget https://github.com/tektoncd/dashboard/releases/download/v0.27.0/tekton-dashboard-release.yaml -O tekton-dashboard-release.yaml

准备tekton-pipeline的镜像

grep-Eo "gcr.io([^\" ]*)"tekton-pipeline-release.yaml | awk'{print "docker pull "$0}'> pull.sh
 
grep-Eo "gcr.io([^\" ]*)"tekton-pipeline-release.yaml | awk-F"@"'{origin = $0;gsub("gcr.io/","",$1);print "docker tag " origin " zcool-registry.cn-beijing.cr.aliyuncs.com/tekton/"$1 ";\ndocker push zcool-registry.cn-beijing.cr.aliyuncs.com/tekton/" $1}'> tag.push.sh
 
sourcepull.sh
sourcepush.sh

修改yml文件中的镜像地址

sed-i "s/gcr.io/zcool-registry-vpc.cn-beijing.cr.aliyuncs.com\/tekton/g"tekton-pipeline-release.yaml  #linux
sed-i """s/gcr.io/zcool-registry-vpc.cn-beijing.cr.aliyuncs.com\/tekton/g"tekton-pipeline-release.yaml  #mac

部署tekton-pipeline

kubectl apply -f tekton-pipeline-release.yaml

准备tekton-dashboard镜像(手工转)

grep-Eo "gcr.io([^\" ]*)"tekton-dashboard-release.yaml | awk'{print "docker pull "$0}'> pull-d.sh
 
grep-Eo "gcr.io([^\" ]*)"tekton-dashboard-release.yaml | awk-F"@"'{origin = $0;gsub("gcr.io/","",$1);print "docker tag " origin " my-registry.cn-beijing.cr.aliyuncs.com/gcrio/"$1 ";\ndocker push my-registry.cn-beijing.cr.aliyuncs.com/gcrio/" $1}'> push.sh

手工修改tekton-dashboard-release.yaml文件中的image地址为镜像仓库地址

部署tekton-dashboard

kubectl apply -f tekton-dashboard-release.yaml

访问地址:

 t.in.zcool.cn

 

相关文章
|
Kubernetes 数据可视化 jenkins
可视化 Tekton 组件 Tekton Dashboard
Tekton Dashboard 使用指南。
4242 0
可视化 Tekton 组件 Tekton Dashboard
|
存储 JSON Kubernetes
Tekton 组件介绍
Tekton 组件介绍
|
存储 Kubernetes 前端开发
openshift gitops 实践
openshift gitops 实践
openshift gitops 实践
|
存储 JSON Kubernetes
openshift Tekton pipeline 实践
openshift Tekton pipeline 实践
|
自然语言处理 Kubernetes Devops
kustomize (四) generatorOptions详解
kustomize (四) generatorOptions详解
|
Kubernetes jenkins 持续交付
Tekton系列之安装篇【一】
Tekton系列之安装篇【一】
Tekton系列之安装篇【一】
|
jenkins 持续交付
Tekton系列之实践篇-由Jenkins改成Tekton
Tekton系列之实践篇-由Jenkins改成Tekton
Tekton系列之实践篇-由Jenkins改成Tekton
|
存储 运维 Kubernetes
Tekton系列之实践篇-使用Tekton Trigger让Tekton使用更简单
Tekton系列之实践篇-使用Tekton Trigger让Tekton使用更简单
Tekton系列之实践篇-使用Tekton Trigger让Tekton使用更简单
|
运维 Kubernetes jenkins
Tekton系列之实践篇-如何用Jenkins来管理Tekton
Tekton系列之实践篇-如何用Jenkins来管理Tekton
Tekton系列之实践篇-如何用Jenkins来管理Tekton
|
机器学习/深度学习 存储 Kubernetes
Argo Workflows-Kubernetes的工作流引擎(上)
Argo Workflows-Kubernetes的工作流引擎
Argo Workflows-Kubernetes的工作流引擎(上)
下一篇
无影云桌面