Install Argo CD: From kubectl apply to argocd login
33%
Reaching the Argo CD Web UI
Once the pods are running, the fastest way to access the Web UI is to use a port-forward:
kubectl -n argocd \
port-forward \
--address 0.0.0.0 \
svc/argocd-server 8080:443 \
> /tmp/argocd-portforward.log 2>&1 &
You can then access the Web UI using the following URL:
echo https://$(curl -s ifconfig.me):8080
However, you can also access it using:
- A NodePort service.
- An Ingress Controller.
- A LoadBalancer service.
We are going to proceed with the NodePort service. First, stop the port-forward (kill %1) and patch the service to use a NodePort:
kubectl -n argocd \
patch svc argocd-server \
-p '{"spec": {"type": "NodePort"}}'
Then, get the port of the service:
port=$(kubectl -n argocd \
get svc argocd-server \
-o jsonpath='{.spec.ports[0].nodePort}')
Get the IP address of one of your nodes:
GitOps the Hard Way, with Argo CD
Build Real GitOps Pipelines From Empty Clusters to Automated DeploysEnroll now to unlock all content and receive all future updates for free.
