CLI
install argocd cli
https://argo-cd.readthedocs.io/en/stable/cli_installation/
# macos
brew install argocd
# linux latest
curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64
chmod +x /usr/local/bin/argocd
# linux version
VERSION=<TAG> # Select desired TAG from https://github.com/argoproj/argo-cd/releases
curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/$VERSION/argocd-linux-amd64
chmod +x /usr/local/bin/argocdhttps://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd/
port forwarding
kubectl port-forward svc/argocd-server -n argocd 8080:443์ ์ ํ์ธ
get password
login
password ๋ณ๊ฒฝ
add user
create configmap
create token
--account๊ฐ ์์ผ๋ฉด ํ์ฌ ๋ก๊ทธ์ธ๋ ์ ์
์ด๋๋ฏผ์ ๊ฒฝ์ฐ ์์ ์์ ์ฒ๋ผ ์ถ๊ฐ๋ก ๋ฃ์ด์ค์ผํ๋ค. ๊ทธ๋ฆฌ๊ณ ์ปค๋งจ๋๋ก ์์ฑ์ ์๋ฌ๊ฐ ๋๋๊ฒฝ์ฐ๋ ์๋ค. ์ด๋๋ ์น์์ ์์ฑํ๋ฉด๋๋ค.
role ์ถ๊ฐ
์ ์ ๋ฅผ ์ถ๊ฐํด๋ ๊ถํ์ ์์ฃผ๋ฉด ์๋ฌด๊ฒ๋ ๋ณด์ด์ง ์๋๋ค.
์ ๋ฐ์ดํธํด๋ณด์.
dev๋ผ๋ ์ ์ ๋ฅผ ๊ถํ์ ์ถ๊ฐํ๊ณ sync๊ฐ ๊ฐ๋ฅํ๊ฒ ํ๋ค.
add repo
add app
get app
app sync
app delete
how to use token
refernce
Last updated
Was this helpful?
