UnieAI Studio

Connect to your vCluster

Find your vCluster, download your own kubeconfig, install kubectl and confirm you can see the nodes and the applications running on it.

A vCluster hands you CPU, memory and GPUs, but to work with it you connect from your own computer as yourself. This page does four things: find the cluster → download a kubeconfig → install kubectl → connect and confirm you see the nodes and applications. Once that is done you never have to borrow an administrator credential again.

The kubeconfig you download stands for you alone: what it can see depends on the role assigned to you, and a colleague's copy will not work in its place. Once your access is revoked, that file can no longer exchange for a credential.

Before you start

What you needHow to check
This cluster in the Machines list on the leftTop GPU Fabric → Machines; members with an assigned role see it too, marked Assigned access
Shell access on your role, if you want the web terminalOn the cluster, Access → My access shows whether Shell access is among your effective permissions
A computer of your own with a terminalThe built-in terminal on macOS or Linux; PowerShell or WSL on Windows
Permission to install softwareInstalling kubectl writes to disk; ask IT if you do not have that
Somewhere to keep the kubeconfig~/.kube/vcluster.yaml is a good choice, and you point KUBECONFIG at it later

Step 1: Find your vCluster on the Machines page

  1. Select GPU Fabric at the top, then Machines on the left.
  2. The list has two views: Developer puts each machine's resources and cost in a table, Digital twin draws your machines and the applications on them. Developer is the quick way to find a cluster.
  3. Select that row to open it. Someone with an assigned role but no project management rights sees a reduced page with only Overview, Apps and Access.

Check it worked: Overview shows this cluster's state and the CPU, memory and GPU assigned to it. A list that says No machines yet means neither this project nor this personal account holds a machine yet — start with Rent compute or Connect your machine.

The Machines page before anything is connected: Connect a machine and Rent a machine at the top right, usage at 0 / 3 — a row appears in the list once you connect or rent one.
Demo · 2026-11-23 · The Machines page before anything is connected: Connect a machine and Rent a machine at the top right, usage at 0 / 3 — a row appears in the list once you connect or rent one. Open full size

Step 2: Download a kubeconfig under Access → My access

  1. Open the cluster and switch to the Access tab.
  2. Select My access. The top half is your effective permissions on this cluster, and the kubeconfig download sits below it.
  3. Under Valid for pick 1, 4, 8 or 12 hours, then select Download temporary kubeconfig. That file works with plain kubectl; download another one when it expires.
  4. If the page also offers Download kubeconfig, that is the plugin version: the file holds no token at all and exchanges for a 15-minute credential each time it connects, so that computer needs npm install -g @unieai/code and a prior unieai login.

Check it worked: the browser saves one yaml file. If instead it says "Access is being applied. The download starts automatically when it is ready…", that is normal — the access was just created or changed, and the file arrives a few seconds later.

Step 3: Install kubectl on your own computer

  1. Check first: run kubectl version --client in a terminal.
  2. macOS: brew install kubectl.
  3. Linux: download it into your PATH, for example curl -LO "https://dl.k8s.io/release/$(curl -Ls https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl", then chmod +x kubectl && sudo mv kubectl /usr/local/bin/.
  4. Windows: run winget install -e --id Kubernetes.kubectl in PowerShell, or use WSL instead.

Check it worked: kubectl version --client prints a Client Version. command not found means the PATH is not set up: move the binary into /usr/local/bin, or reopen the terminal and try again.

Step 4: Point kubectl at the kubeconfig

  1. Put the yaml you downloaded at ~/.kube/vcluster.yaml (run mkdir -p ~/.kube first if the folder does not exist).
  2. Run export KUBECONFIG=~/.kube/vcluster.yaml. To have that in every new terminal, add the line to ~/.zshrc or ~/.bashrc.
  3. Run kubectl config current-context to see which cluster it points at right now.

Check it worked: the context name matches the cluster you saw in Studio, not another one. When you manage several at once, pointing KUBECONFIG at one at a time is the least error-prone.

Step 5: Confirm you can see the nodes and applications

  1. kubectl get nodes: one or more nodes, with STATUS reading Ready.
  2. kubectl get pods: what it lists are the applications deployed on this cluster.
  3. Prefer not to use the command line? Back on the Machines page, open the same cluster: the Apps tab is the same pod list, and with Shell access each row offers Open Webshell.

Check it worked: the node list is not empty and get pods answers instead of replying Unauthorized. A refusal means the credential expired or the assignment was revoked: go back to Step 2 and download a fresh one; if that is still refused, it is a permissions problem and the first row below applies.

Common snags

What you seeUsual causeWhat to do
The cluster is missing from the Machines listYou are not a member of this project, or the assignment was revokedAsk the project creator to invite you and assign a role; once it is revoked the cluster leaves your list
Download kubeconfig stays at applyingThe access was just changed and the platform is still applying itWait 1–2 minutes and select it again; if the state stays at Failed, ask whoever manages access to select Retry
Only Download temporary kubeconfig appears, with no Download kubeconfigThe plugin kubeconfig is not enabled in this environmentUse the temporary one: pick 1–12 hours under Valid for and download another when it expires
kubectl answers UnauthorizedThe temporary kubeconfig expired, or the assignment was revokedDownload it again; if a fresh file is still refused, the access was taken away
kubectl answers command not foundkubectl is not installed, or not on the PATHGo back to Step 3 and confirm the binary is in /usr/local/bin
It connects, but some applications are missingYour role only sees the scope assigned to itFor the whole cluster, ask whoever manages access to widen the scope
Open Webshell says your role may not enter containersYour role does not tick Shell accessAsk whoever manages access to move you to a role that includes Shell access
It worked yesterday and not todayThe temporary kubeconfig expired (12 hours at most)Download a new one under My access; for daily use switch to the plugin Download kubeconfig where the page offers it

Next steps