argocd - deploying application to your cluster using argo command line.
Setting up your argocd deployment context
argocd cluster add docker-desktop
This setups a service account along with cluster role, cluster role bindings.
Preparing your default application namespace context
kubectl config set-context --current --namespace=argocd
Given that our application resides in here: https://github.com/argoproj/argocd-example-apps.git
We can deploy our application using the following command.
argocd app create guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path guestbook --dest-server https://kubernetes.default.svc --dest-namespace default
Comments