Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 1.66 KB

File metadata and controls

67 lines (50 loc) · 1.66 KB

Argo CD

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.

Install Argo CD

  1. On your laptop run:

    kubectl create namespace argocd
    kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
    

Expose the Argo CD Server API/UI

  1. 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
  2. Now, apply the manifest:

    kubectl apply -f argocd-nodeport.yaml

Login to Argo CD

  1. Obtain the Argo CD password:

    kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
  2. 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 Steps

Next, you will build the NGINX Plus Ingress Controller