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
Port-forwarding:
Code Block kubectl port-forward svc/argocd-server -n argocd 8080:443
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
Getting started with ArgoCD web UI:
Go to setting and connect to a repository (e.g. Github)
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
Page Comparison
General
Content
Integrations