Argocd deployed on kubernetes playground is not working

I have used below command to deploy argocd with below commands.

kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml

After that I changed argocd-server service type to nodeport and ran below command to forward the port.

kubectl port-forward service/argocd-server -n argocd 8081:80 --address 0.0.0.0

Now, I am getting below error while trying to open webpage on browser

This page isn’t working

8081-port-34c559d3d8ca4c26.labs.kodekloud.com redirected you too many times.

  • [Try deleting your cookies].

ERR_TOO_MANY_REDIRECTS

Hi,

Please try again with: kubectl port-forward svc/argocd-server -n argocd 8081:443

Heya, I ran into the same issue and stumbled upon this thread. After some search, it appeared that ArgoCD is redirecting to HTTPS by default due to TLS termination.

To resolve this, follow the github thread below to set the configmap params. After that I was able to view port and access argocd UI on the playground.