Load To Technical Architect

[AWS] EKS ArgoCD Install 본문

Cloud/AWS

[AWS] EKS ArgoCD Install

고지식한청춘 2024. 6. 11. 13:27
728x90
# namespace 생성
kubectl create namespace argocd

# ArgoCD 리소스 생성
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.4.7/manifests/install.yaml

# ArgoCD svc type 변경 (CLB)
kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "LoadBalancer"}}'

# ArgoCD 초기 Admin 비밀번호 확인
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d

# ArgoCD 접속 CLB Hostname 확인
kubectl get svc argocd-server -n argocd -o json | jq --raw-output '.status.loadBalancer.ingress[0].hostname'
728x90
Comments