본문 바로가기
kubenetes

tekton 설치

by kyeongseo.oh 2024. 8. 29.

1. tekton pipeline 설치

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

 

2. tekton dashboard 설치

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

 

3. tekton trigger, interceptors 설치

kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/latest/release.yaml
 
kubectl apply -f https://storage.googleapis.com/tekton-releases/triggers/latest/interceptors.yaml

 

4. ingress 설정

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: tekton-dashboard
  namespace: tekton-pipelines
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  ingressClassName: nginx
  rules:
  - host: tekton.dd.io
    http:
      paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: tekton-dashboard
              port:
                number: 9097

댓글