1

I have tried so many times uninstalling ArgoCD and reinstalling. I have no idea what I am doing wrong honestly.

I start by installing ArgoCD. I am not interested in anything fancy, so I'm trying the core installation.

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

No errors. The guide says I can use argocd login --core to skip steps 3-5, so I do that:

cis@sd2:~$ argocd login --core
Context 'kubernetes' updated

Looks good as far as I know. Now I try to create their example application:

argocd app create guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path guestbook --dest-server https://kubernetes.default.svc --dest-namespace default

... Nothing. Nothing at all happens. I'm never prompted for another command as long as I don't interrupt the process by pressing control+c. Am I vastly misunderstanding the getting started guide? I am happy to provide any necessary information about my cluster, I just have no idea what information would even be relevant.

This is the guide I am trying to follow: https://argo-cd.readthedocs.io/en/stable/getting_started/

9
  • How are you accessing the service? port-forward?
    – jordanm
    Feb 1, 2022 at 20:39
  • @jordanm Hi. I am just trying to do what the guide tells me to do, which for core installation does not seem to include port forwarding. Feb 1, 2022 at 20:45
  • The url https://kubernetes.default.svc is only valid inside the cluster. Where are you running this command?
    – larsks
    Feb 1, 2022 at 20:46
  • Step 3 in the guide to which you've linked describes multiple scenarios for providing external access (including port forwarding). argo-cd.readthedocs.io/en/stable/getting_started/…
    – larsks
    Feb 1, 2022 at 20:47
  • @larsks I honestly don't know how to answer your question. I am secure shelled into my remote server which is hosting my Kubernetes master plane and running these commands in that shell. Am I supposed to be running these commands "Inside" the Kubernetes cluster? If so how? Feb 1, 2022 at 20:51

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.