All Products
Search
Document Center

Container Service for Kubernetes:Log on to the GitOps system

Last Updated:Jun 23, 2026

Describes how ACK One GitOps users log on to the GitOps system using the Argo CD CLI or web UI.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:

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

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. Go to https://<argocd-server-load-balancer-ip> in your browser.

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

Access via port forwarding

  1. Use the fleet KubeConfig on your local machine to set up a port-forward proxy, then access the Argo CD UI through the proxy.

    kubectl port-forward -n argocd service/argocd-server 8080:https
  2. Go to https://127.0.0.1:8080 in your browser.

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