From the course: Kubernetes: GitOps with ArgoCD

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Syncing updated infrastructure manifests

Syncing updated infrastructure manifests

From the course: Kubernetes: GitOps with ArgoCD

Syncing updated infrastructure manifests

- [Instructor] We'll now see how we can make changes to our Kubernetes manifest, that we stored on GitHub, and have ArgoCD sync these changes for us. Let's see how many replicas of our deployment we're running, that's exactly one. The current state matches the desired state. I'm now going to modify the deployment.yaml file, that I have on my local machine, to update the number of replicas that we have for our deployment. So open up deployment.yaml, and change the number of replicas. I've set it to be equal to two. Go ahead and save these changes. These changes are now made in the Git repository on our local machine. Let's now commit them to the master branch in GitHub. There's exactly one file that I've changed, deployment.yaml, which I add to Git, and I'm going to use git commit to commit the changes to my local repository. And once changes have been committed, I'm going to use git push to push these changes to the…

Contents