Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes.
In our workshop, we will use Argo CD to deploy our microservices and resources.
-
On your laptop run:
kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
-
In your infra repository, save the following manifest locally to
argocd-nodeport.yaml
apiVersion: v1 kind: Service metadata: labels: app.kubernetes.io/component: server app.kubernetes.io/name: argocd-server app.kubernetes.io/part-of: argocd name: argocd-server-nodeport namespace: argocd spec: ports: - name: http port: 80 protocol: TCP targetPort: 8080 nodePort: 30007 - name: https port: 443 protocol: TCP targetPort: 8080 nodePort: 30008 selector: app.kubernetes.io/name: argocd-server sessionAffinity: None type: NodePort
-
Now, apply the manifest:
kubectl apply -f argocd-nodeport.yaml
-
Obtain the Argo CD password:
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
-
Use the Argo CD UDF Access Method to access the Argo CD UI and login with the
admin
user and the password you obtained in the previous step.
Next, you will build the NGINX Plus Ingress Controller