본문으로 바로가기

[Devops] Argocd 설치하기

category IT/DevOps 2021. 9. 9. 01:08
반응형

argocd install

kubectl create ns argocd
kubectl label namespace argocd istio-injection=enabled

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

#install
helm install -f ./values.yaml -n argocd argocd argo/argo-cd

## 삭제 
helm uninstall argocd -n argocd

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

values.yaml

installCRDs: false

controller:
  nodeSelector: 
    nodegroup-type: MANAGE

repoServer:
  nodeSelector: 
    nodegroup-type: MANAGE

server:
  nodeSelector: 
    nodegroup-type: MANAGE
  extraArgs:
  - --insecure
  # - --basehref
  # - /argocd

dex:
  nodeSelector: 
    nodegroup-type: MANAGE

redis:
  nodeSelector: 
    nodegroup-type: MANAGE

configs:
  secret:
    # admin / admin1234
    argocdServerAdminPassword: $2b$10$QkGQL1L00nBebiuIXlCYFOOBUVkTt/Z96.mHLWGAUDvNXsM1AxNbS
    argocdServerAdminPasswordMtime: 2020-07-01T00:00:00Z

Argocd repository add

  • 왼쪽 톱니 모양 클릭후 [Connect repo using https]
  • gitops 레포지토리 URL및 git 계정 정보 입력

argocd login

argocd login argocd.kimdragon50.ml --name prod-gsn-kym-eks-context --grpc-web

해당에러는 도메인이 https로 통신하지 않기 때문임

FATA[0023] rpc error: code = Unavailable desc = transport is closing
반응형