Deploying ArgoCD
So far, we have a way to get into our cluster, a way to store code, and a system for building our code and generating images. The last component of our platform is our GitOps controller. This is the piece that lets us commit manifests to our Git repository and make changes to our cluster. ArgoCD is a collaboration between Intuit and Weaveworks. It provides a great UI and is driven by a combination of custom resources and Kubernetes-native ConfigMap
and Secret
objects. It has a CLI tool, and both the web and CLI tools are integrated with OpenID Connect, so it will be easy to add SSO with our OpenUnison. Let's deploy ArgoCD and use it to launch our hello-python
web service:
- Deploy using the standard YAML from https://argoproj.github.io/argo-cd/getting_started/:
$ kubectl create namespace argocd $ kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
- Create the
Ingress
object for ArgoCD by editingchapter14...