본문 바로가기

DEVOPS/ARGO

(DK) TKG에 HELM을 통한 ARGO 배포

728x90
## namespace 생성
kubectl create namespace argo

## helm repo 등록
helm repo add argo https://argoproj.github.io/argo-helm

## helm repo update
helm repo update

## helm values download
helm show values argo/argo-cd > argocd.yaml

## ssl로 구성시 생성한 인증서 등록 (Optional)
kubectl create secret tls argo-tls --cert=/data/cert/yourdomain.com.crt --key=/data/cert/yourdomain.com.key -n argo

## 수정이 필요 하면 argocd.yaml 파일 수정 변경이 없으면 그냥 적용
helm install argocd argo/argo-cd -n argo

## portfoward
kubectl port-forward service/argocd-server -n argo 8080:443

## 또는 포트 포워딩 ID / PW
ID: admin

## 패스워드
kubectl -n argo get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d

아래와 같이 화면이 생성 된 것을 확인 할 수 있다.

UI에서 확인

반응형

'DEVOPS > ARGO' 카테고리의 다른 글