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

 

相关文章
|
1月前
|
Kubernetes 关系型数据库 数据库
使用 Helm 部署 Wikijs
使用 Helm 部署 Wikijs
|
10月前
|
缓存 Kubernetes Docker
GitLab Runner部署(kubernetes环境)
记录K8S环境部署GitLab Runner的详细步骤
294 2
GitLab Runner部署(kubernetes环境)
|
存储 JSON Kubernetes
Tekton 组件介绍
Tekton 组件介绍
|
Kubernetes 数据可视化 Cloud Native
可视化 Tekton 组件 Tekton Dashboard
Tekton Dashboard 使用指南。
4139 0
|
存储 JSON Kubernetes
openshift Tekton pipeline 实践
openshift Tekton pipeline 实践
|
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 负载均衡 算法
KubeSphere在项目中的使用
KubeSphere在项目中的使用
KubeSphere在项目中的使用