Skip to content

Latest commit

 

History

History
61 lines (27 loc) · 1.87 KB

File metadata and controls

61 lines (27 loc) · 1.87 KB

Install Helm

$ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3

$ chmod 700 get_helm.sh

$ ./get_helm.sh

Installing ARGO CD Argo CD is a declarative, GitOps CD tool for Kubernetes. It automates the deployment of applications to Kubernetes clusters based on configuration files stored in Git repositories

helm repo add argo https://argoproj.github.io/argo cd

Create Argo wrokflow kubectl apply -n argocd -f https://github.com/argoproj/argo-work

Create a namespace called argocd

kubectl create namespace argocd

installing the chart

helm repo add argo https://argoproj.github.io/argo-helm

helm install argocd argo/argo-cd --namespace argocd

run this to get the secret key

kubectl -n argocd get secret **************** -o jsonpath="{.data.password}" | base64 -d

Screenshot 2024-04-26 at 18 47 42 Screenshot 2024-04-26 at 18 52 01 Screenshot 2024-04-26 at 19 00 46
  1. kubectl port-forward service/argocd-server -n argocd 8080:443

    and then open the browser on http://localhost:8080

After reaching the UI the first time you can login with username: admin and the random password generated during the installation. You can find the password by running:

you might need to run this incase if you get some error when trying to enter your argocd GUI after some hours due to the fact that i use a minkube cluster which is for test purpose

sudo lsof -i :8080

kill -9

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