Skip to main contentNedix.io

Argo CD

Provides continuous delivery of Kubernetes workloads using GitOps practices.

Resources

Base

/base/argo/kustomization.yaml
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argo
resources:
- namespace.yaml
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
/base/argo/namespace.yaml
---
apiVersion: v1
kind: Namespace
metadata:
name: argo

Applying

kubectl kustomize | kubectl apply -f - \
&& kubectl wait -n argo --for=condition=available deployments/argocd-server --timeout=-1s

Install CLI

Darwin

brew install argocd

Linux

curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64 \
&& chmod +x /usr/local/bin/argocd

Authenticate

argocd login 127.0.0.1:8080 --username admin --password admin

OR

argocd login 127.0.0.1:8080 \
--username=admin \
--password=`kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d` \
--insecure

References