Installing ArgoCD Command Line Interface

16 Oct 2022 09:37 k3s kubernetes argo-cd

ArgoCD provides a web interface and a command line interface. Let’s install the CLI.

$ wget
$ chmod +x argocd-linux-amd64
$ sudo mv argocd-linux-amd64 /usr/local/bin/argocd
$ argocd login
WARNING: server certificate had error: x509: certificate signed by unknown authority. Proceed insecurely (y/n)? y
Username: admin
'admin:login' logged in successfully
Context '' updated

Creating a new application

Something like this:

% argocd app create grafana \
  --repo --path . \
  --dest-server https://kubernetes.default.svc --dest-namespace grafana
application 'grafana' created