본문 바로가기
Compute/kubernetis

31. 새로 추가된 시험 유형 - 5 / helm Argo cd설치

by 조청유곽 2025. 11. 7.
반응형

[Question]

Install Argo CD in cluster:
Add the official Argo CD Helm repository with the name argo.
The Argo CD CRDs have already been pre-installed in the cluster.
Generate a helm template of the Argo CD Helm chart version 7.7.3 for the argocd NS and save to /argo-helm.yaml
Configure the chart to not install CRDs.
Install Argo CD using Helm with release name argocd using the same version as above
and configuration as used in the template 7.7.3.
Install it in the argocd ns and configure it to not install CRDs.
You do not need to configure access to the Argo CD server Ul.

 


 

[Precondition]

- N/A 

 


 

[Solve]

# 0) 네임스페이스 준비
kubectl create ns argocd 2>/dev/null || true

# 1) Argo CD 공식 Helm 저장소 추가 (이름: argo)
helm repo add argo https://argoproj.github.io/argo-helm
helm repo update
# (선택 확인) helm search repo argo/argo-cd --versions | grep 7.7.3

# 2) Helm 템플릿 생성 (v7.7.3, NS=argocd, CRD 미설치) → /argo-helm.yaml
helm template argocd argo/argo-cd \
  --namespace argocd \
  --version 7.7.3 \
  --set crds.install=false \
  > /argo-helm.yaml

# 3) Helm 설치 (릴리스명: argocd, 동일 버전/옵션, NS=argocd)
helm install argocd argo/argo-cd \
  --namespace argocd \
  --version 7.7.3 \
  --set crds.install=false

# 4) 확인 (UI 접근 설정은 요구사항에 없음)
kubectl -n argocd get pods
helm list -n argocd

 

반응형