install tekton

# tekton(https://github.com/tektoncd/pipeline) 은 ci/cd 스타일의 파이프라인으로 각 step 은 k8s crd 로 컨테이너 이미지로 실행한다.
# kustomize, yq 가 설치되어 있어야 한다.
brew install kustomize yq

# helm chart 저장소 추가
helm repo add cdf https://cdfoundation.github.io/tekton-helm-chart
helm repo update

# Tekton Pipelines의 Kubernetes 버전에 맞게 선택해야 한다.
Starting from the v0.24.x release of Tekton: Kubernetes version 1.18 or later
Starting from the v0.27.x release of Tekton: Kubernetes version 1.19 or later
Starting from the v0.30.x release of Tekton: Kubernetes version 1.20 or later
Starting from the v0.33.x release of Tekton: Kubernetes version 1.21 or later
Starting from the v0.39.x release of Tekton: Kubernetes version 1.22 or later
Starting from the v0.41.x release of Tekton: Kubernetes version 1.23 or later
Starting from the v0.45.x release of Tekton: Kubernetes version 1.24 or later
Starting from the v0.51.x release of Tekton: Kubernetes version 1.25 or later
Starting from the v0.59.x release of Tekton: Kubernetes version 1.27 or later
Starting from the v0.61.x release of Tekton: Kubernetes version 1.28 or later

# tekton 프로젝트는 비용 절감을 위해 2025년 초부터 gcr.io에서 ghcr.io (GitHub Container Registry)로 이미지 호스팅을 이전해서 저장소 경로가 바뀌었다.
# gcr.io 로 되어 있던 예전 챠트는 동작하지 않을 수 있다.

# tekton 차트에서 app version 확인
helm search repo tekton --versions

# (chart 를 별도로 관리하기 위해) helm chart 다운로드 받아 압축풀기
# chart 1.0.5(app 0.69.0)을 선택
helm fetch cdf/tekton-pipeline --version 1.0.5
tar zxvf tekton-pipeline-1.0.5.tgz
cd tekton-pipeline

# 설치
helm upgrade --install tekton . \
--namespace tekton-pipelines \
--create-namespace \
--values values.yaml

# 삭제
helm uninstall tekton -n tekton-pipelines

comments:

댓글 쓰기