๐ ArgoCD#
Overview
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.
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