Argo CD

박기원·2022년 9월 4일
0

Argo CD Install

$ kubectl create namespace argocd

$ kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/v2.4.7/manifests/install.yaml

$ sudo curl --silent --location -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/v2.4.7/argocd-linux-amd64

$ sudo chmod +x /usr/local/bin/argocd

$ kubectl edit svc argocd-server -n argocd
# type변경으로 argocd server에 접속할 수 있게 한다.

$ kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "LoadBalancer"}}'
# 바로 변경

Argo CD CLI 설치

$ VERSION=v2.0.0; curl -sL -o argocd https://github.com/argoproj/argo-cd/releases/download/$VERSION/argocd-linux-amd64
$ chmod +x argocd
$ sudo mv argocd /usr/local/bin/argocd

Argo CD 초기 비밀번호

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

Argo CD Login & Passwd Update

$ argocd login --insecure <ARGOCD_SERVER_DOMAIN>

$ argocd account update-password

Connect to Argo CD



Ref.

Argo CD - Declarative GitOps CD for Kubernetes

0개의 댓글