Dev/DevOps
ArgoCD CLI명령어 몇 가지
newtype
2023. 2. 3. 16:40
- login
- 접속 정보는 web gui와 동일
argocd login 127.0.0.1 --insecure --username admin --password xxxxx- app 정보 조회
argocd app get test-dev- 전체 app 조회
argocd app list- 특정 repo app 조회
argocd app list --repo [http://repo1.com/test-dev/manifests.git](http://repo1.com/test-dev/manifests.git)- repo 수정
argocd app set test-dev --repo [http://repo2.com/test-dev/manifests.git](http://repo2.com/test-dev/manifests.git)- 전체 백업
argocd admin export > backup.yaml- 전체 복구
argocd admin import - < backup.yaml반응형