Access Argo CD in your ACK One Fleet instance using the Argo CD CLI or the web UI. Both methods support two access modes: direct access through the Argo CD server's load balancer (LB) IP, or local access through kubectl port-forward.
| Access mode | When to use |
|---|---|
| Load balancer IP | The Argo CD server is exposed via a load balancer and you need direct, persistent access |
kubectl port-forward | You need temporary local access without exposing the server externally |
Prerequisites
Before you begin, ensure that you have:
The kubeconfig file of the Fleet instance, obtained from the ACK One console, with kubectl connected to the Fleet instance
(Required for CLI access) Argo CD CLI v2.8.7, downloaded and installed from ArgoCD v2.8.7
Log on using the Argo CD CLI
Access via load balancer IP
Get the load balancer IP of the Argo CD server.
kubectl get svc -nargocd argocd-server -ojsonpath='{.status.loadBalancer.ingress[0].ip}'Get the initial admin password.
kubectl -nargocd get secret argocd-initial-admin-secret -ojsonpath='{.data.password}' |base64 -dLog on to the Argo CD server.
argocd login <argocd-server-load-balancer-ip> Username: admin Password: 'admin:login' logged in successfully Context '<argocd-server-load-balancer-ip>' updated
Access via port forwarding
Run the following command to log on as a local user through port forwarding.
export ARGOCD_OPTS='--port-forward-namespace argocd --port-forward'
argocd login
Username: localuser1
Password:
'localuser1:login' logged in successfully
Context 'port-forward' updatedLog on using the Argo CD UI
Access via load balancer IP
Open a browser and go to
https://<argocd-server-load-balancer-ip>.On the logon page, enter the username and password of the local user, and then click SIGN IN.
Access via port forwarding
Forward the Argo CD server port to your local machine.
kubectl port-forward -n argocd service/argocd-server 8080:httpsOpen a browser and go to
https://127.0.0.1:8080.On the logon page, enter the username and password of the local user, and then click SIGN IN.