Kubernetes/Kuberenetes 설치

argoCD 설치 방법

KH_Guard 2022. 12. 2. 10:36

argoCD란? 

 argoCD란 지속적인 배포(CD)를 지원하는 도구입니다.

 

1. argoCD Deploy

  1) 네임 스페이스 생성

      # kubectl create namespace argocd

 

  2) argoCD apply (공식 GitHub repository yaml 파일)

      # kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

 

2. 외부 접속 포인트 설정

  1) service type 확인 및 변경

      # kubectl get service -n argocd 

      # kubectl edit svc argocd-server -n argocd

         type: ClusterIP  ->  type: NodePort   또는  type: LoadBalancer  변경

 

2) service 확인

      # kubectl  get service -n argocd

         argocd-server   NodePort   10.103.112.222   <none>  80:31937/TCP,443:31039/TCP   15m

 

 

3. Password 확인

  1) argocd password 확인

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

         O9WRLdtLTzzShXDG

 

4. web 접속

 

이렇게 argoCD의 간편 설치를 해보았다