From the course: Automating Kubernetes with GitOps
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Using Argo CD - Kubernetes Tutorial
From the course: Automating Kubernetes with GitOps
Using Argo CD
- Let me show you how to work with Argo CD. So before I can show you, we need to install it. So let's do that first. So I'm starting with kubectl create ns argocd so that it's getting its own namespace. And then I'm using kubectl apply -n argocd -f and we apply it directly from the GitHub. So you can see a lot of stuff is going on. Let's check it out: kubectl get all -n argocd. And as you can see, it's applying a couple of deployments. We need to give that a minute, maybe two. While doing so, we can already fetch the latest version of the Argo CD binary. Let's check that out from our webpage. All right, so here we have the binary, let me fetch it. And let's install it. So first, we need to to move it: sudo mv argocdlinux, blah, blah, to /usr/local/bin/argocd. And then let's also do a sudo chmod +x on /usr/local/bin/argocd to make it executable. Now, how about these resources? As you can see, the deployments are now running. Well, that's looking good, let's continue. So next, we need…