Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Install ArgoCD on Ubuntu:

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

    Code Block
    kubectl port-forward svc/argocd-server -n argocd 8080:443
  3. Access ArgoCD via server:

    Code Block
    # Check you service(svc) on ArgoCD
    kubectl get svc -n argocd
    
    # If type is NodePort, ArgoCD cluster will be available on:
    https://<hosted-node-ip>:<NodePort>
    
    # Initial username is admin
    # access password through:
    kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
  4. Getting started with ArgoCD web UI:

    1. Go to setting and connect to a repository (e.g. Github)

    2. Use the repository to create an application:

      Code Block
      #General
      Application name: name
      Project Name:
      SYNC POLICY: Manual
      
      #Source
      Repository URL: Git repo url
      Revision: Select BRANCH and provide the branch name(e.g main, branch-1)
      Path: ./
      
      #Destination
      Cluster URL: https://kubernetes.default.svc
      Namespace: argocd namespace on cluster