ArgoCD 설치

김학현·2024년 3월 23일
0

Contents


  • Helm 설치
  • ArgoCD 설치 (Using Helm)

Helm 설치


reference: https://helm.sh/docs/intro/install

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh

설치 확인

$ helm version
version.BuildInfo{Version:"v3.14.3", GitCommit:"f03cc04caaa8f6d7c3e67cf918929150cf6f3f12", GitTreeState:"clean", GoVersion:"go1.21.7"}

ArgoCD 설치 (Using Helm)


네임스페이스 생성

kubectl create namespace argocd

helm repo 추가

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

ArgoCD 설치

helm fetch argo/argo-cd
helm install argocd argo/argo-cd --namespace argocd
$ kubectl get pod -n argocd
NAME                                                READY   STATUS    RESTARTS   AGE
argocd-application-controller-0                     1/1     Running   0          60s
argocd-applicationset-controller-8548b5f65c-r5wdq   1/1     Running   0          60s
argocd-dex-server-69f99fcfdc-4wc4n                  1/1     Running   0          60s
argocd-notifications-controller-5c95fb6c49-5k4dx    1/1     Running   0          60s
argocd-redis-cb7d59dc4-rj9lb                        1/1     Running   0          60s
argocd-repo-server-576cb97498-67tkt                 1/1     Running   0          60s
argocd-server-84f8547bdf-b647h                      1/1     Running   0          60s

비밀번호 확인

kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
profile
DevOps(MLOps)

0개의 댓글