🔹Kubernetes
Argo CD / Argo Rollouts / Argo Workflows UI 가이드
terranbin
2025. 4. 16. 17:22
728x90
SMALL
배포로 테스트 하던 도중 (Rollout 시) CLI 로 보기 싫다면
Argo 생태계 구성하고, 각 컴포넌트의 UI 에 접속하여 시각적으로 배포 및 파이프라인 관리를 들어간다
🧭 Argo 프로젝트 구성 요약
컴포넌트 | 설명 | UI 지원 | 기본 포트 |
Argo CD | GitOps 기반 Kubernetes 배포 자동화 | ✅ 있음 | 8080 |
Argo Rollouts | Canary / Blue-Green 등 단계적 배포 전략 도구 | ✅ 있음 | 3100 |
Argo Workflows | DAG 기반 배치/ML 워크플로우 실행 엔진 | ✅ 있음 | 2746 |
🟦 Argo CD UI 접속 가이드
1. 설치
kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
2. 포트포워딩
kubectl port-forward svc/argocd-server -n argocd --address=0.0.0.0 8080:443
3. 브라우저 접속
http://<VM-IP>:8080
4. 초기 로그인 정보
kubectl get pods -n argocd
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d && echo
🟨 Argo Rollouts UI 접속 가이드
1. 설치
kubectl create namespace argo-rollouts
kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml
kubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/dashboard-install.yaml
2. 포트포워딩
kubectl port-forward -n argo-rollouts deployment/argo-rollouts-dashboard --address=0.0.0.0 3100:3100
3. 브라우저 접속
http://<VM-IP>:3100
⚠️ VM에서 외부 접속이 안 될 경우: localhost로 포트포워딩하거나 SSH 터널링 사용
4. UI 주요 기능
- Rollout 상태 실시간 시각화
- Canary/Blue-Green 단계별 진행
- Promote / Abort 버튼
🟥 Argo Workflows UI 접속 가이드
1. 설치
kubectl create namespace argo
kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/latest/download/install.yaml
2. 포트포워딩
kubectl port-forward -n argo deployment/argo-server --address=0.0.0.0 2746:2746
3. 브라우저 접속
http://<VM-IP>:2746
4. 워크플로우 테스트 실행
argo submit -n argo --watch https://raw.githubusercontent.com/argoproj/argo-workflows/master/examples/hello-world.yaml
5. CLI 도구 설치 (옵션)
curl -sLO https://github.com/argoproj/argo-workflows/releases/latest/download/argo-linux-amd64
chmod +x argo-linux-amd64
mv ./argo-linux-amd64 /usr/local/bin/argo
📌 참고 팁
- UI에 리소스가 보이지 않을 경우, 우측 상단의 Namespace를 반드시 확인 (예: default, argo, argo-rollouts 등)
- 모든 포트포워딩 명령어에 --address=0.0.0.0 추가 시 외부 접근 가능
- 방화벽이 막혀 있다면 포트 열기:
firewall-cmd --permanent --add-port=<포트번호>/tcp
firewall-cmd --reload
✅ 마무리 정리
컴포넌트 | 설치 네임스페이스 | UI 주소 (기본) |
Argo CD | argocd | http://:8080 |
Argo Rollouts | argo-rollouts | http://:3100 |
Argo Workflows | argo | http://:2746 |
LIST