All Products
Search
Document Center

Container Service for Kubernetes:Log on to the GitOps system

Last Updated:Mar 25, 2026

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 modeWhen to use
Load balancer IPThe Argo CD server is exposed via a load balancer and you need direct, persistent access
kubectl port-forwardYou need temporary local access without exposing the server externally

Prerequisites

Before you begin, ensure that you have:

Log on using the Argo CD CLI

Access via load balancer IP

  1. Get the load balancer IP of the Argo CD server.

    kubectl get svc -nargocd argocd-server -ojsonpath='{.status.loadBalancer.ingress[0].ip}'
  2. Get the initial admin password.

    kubectl -nargocd get secret argocd-initial-admin-secret -ojsonpath='{.data.password}' |base64 -d
  3. Log 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' updated

Log on using the Argo CD UI

Access via load balancer IP

  1. Open a browser and go to https://<argocd-server-load-balancer-ip>.

  2. On the logon page, enter the username and password of the local user, and then click SIGN IN.

Access via port forwarding

  1. Forward the Argo CD server port to your local machine.

    kubectl port-forward -n argocd service/argocd-server 8080:https
  2. Open a browser and go to https://127.0.0.1:8080.

  3. On the logon page, enter the username and password of the local user, and then click SIGN IN.