๐Ÿ“— ArgoCD

๐Ÿ“— ArgoCD#

Overview

logo

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. It ensures that the actual state of your Kubernetes clusters matches the desired state defined in Git repositories, automating deployments and maintaining consistency across environments.

๐ŸŒ https://argo-cd.readthedocs.io/en/stable/

Tip

curl -s https://raw.githubusercontent.com/argoproj-labs/training-material/main/argo-workflows/install.sh | sh
helm repo add argo https://argoproj.github.io/argo-helm

Awk is always helpful.

awk 'BEGIN{format="%-13s %-13s %s\n";printf format, "NAME", "CHART VERSION", "APP VERSION"}NR>1&&NR<5{printf format,$1,$2,$3}' <(helm search repo argo-cd -l)
NAME          CHART VERSION APP VERSION
argo/argo-cd  9.4.5         v3.3.2
argo/argo-cd  9.4.4         v3.3.2
argo/argo-cd  9.4.3         v3.3.1

helm template argocd argo/argo-cd
โ€“namespace argocd
โ€“create-namespace
โ€“set server.service.type=NodePort
โ€“set global.domain=argocd.guisam.fr

k get -n argocd secrets argocd-initial-admin-secret -o jsonpath=โ€™{.data.password}โ€™ | base64 -d

helm install argocd argo/argo-cd \n โ€“namespace argocd \n โ€“create-namespace \n โ€“set server.service.type=NodePort

curl -sSL -o argocd-linux-amd64 https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64\nsudo install -m 555 argocd-linux-amd64 /usr/local/bin/argocd\nrm argocd-linux-amd64

kubectl port-forward service/argocd-server -n argocd 8080:443

k get secrets -n argocd argocd-initial-admin-secret -o jsonpath=โ€™{.data.password}โ€™ | base64 -d