Automating Kubernetes with ArgoCD

Quân Huỳnh
6 min readJul 7, 2022

Continuing the previous post, we have learned about how to set up a microservices system on Kubernetes. In this post, we’re going to learn how to automate updating k8s configuration with ArgoCD.

This is part two in the series Set up a Microservices on Kubernetes:

  1. Set up a Microservices on Kubernetes — Write Config File.
  2. Set up a Microservices on Kubernetes — Automating Kubernetes with ArgoCD.
  3. Set up a Microservices on Kubernetes — Implement CI/CD.

System Architecture

The architecture we built in the previous post.

Update the application when Kubernetes configuration changes

When we write the configuration for a new component of the application in the k8s manifests configuration file, we have to run the kubectl command to update it.

That work is manual, and if we are DevOps then we want everything to be automated. There are many ways we can do this, we can use Jenkins or Gitlab CI to make this process automated.

--

--

Quân Huỳnh

I’m a technical blogger and love writing. I write about Kubernetes, AWS Cloud, and Terraform.