kubectl through an API proxy on your team’s Tailscale tailnet.
- Your workloads run only on the reserved nodes. Pods in a member’s namespace are always scheduled onto the reservation’s nodes, and nothing else on the cluster is scheduled there.
- Each member works in their own namespace. Members can’t see or change other namespaces or anything cluster-wide.
- Access goes through your tailnet. The cluster’s API server is reachable only through the reservation’s proxy, which joins your tailnet. Credentials are short-lived tokens issued with your Prime API key, so there are no long-lived kubeconfig secrets to hand around.
Before you start
Team admins set up the following once:- Kubernetes reservations enabled on the cluster. The Kubernetes reservation option appears in the Deploy menu only when one of your clusters supports it. During the closed beta it’s enabled on request, as described at the top of this page.
- A Tailscale credential saved with your team. See Set up Tailscale below.
- Team admin role. Only team admins can reserve, scale, release and manage members. Any team member can be added to a reservation.
Set up Tailscale
The reservation’s API proxy joins your tailnet as a device, using a single-use key Prime mints from your team’s Tailscale OAuth client. When the reservation is released, Prime removes the device from your tailnet.1. Create an OAuth client in Tailscale
In the Tailscale admin console, create an OAuth client with these scopes. Both need write access:tag:prime-k8s. The tag must be listed in tagOwners in your tailnet policy file.
2. Allow access to the tag
The proxy serves the Kubernetes API on port 443. Add a rule to your tailnet policy file that lets your users reach it:group:ml-team with the users or groups who should be able to reach your reservations.
3. Save the credential with your team
In Team Settings → Preferences → Tailscale credentials:- Click Add credential
- Enter a name, the client ID and client secret, and the client’s tags
- Click Test and save

Adding a credential. The client secret is write-only.

A saved credential. Only the client ID is shown; the secret stays masked.
Reserve nodes
- Open Dedicated Clusters, or the cluster’s own page
- Click Deploy → Kubernetes reservation
- Fill in:
- Cluster: clusters that can’t take a reservation right now are shown but can’t be picked
- Pool name: lowercase letters, digits and
-, at most 22 characters - Nodes: the nodes to reserve
- Members: the teammates who get access
- Tailscale access: the team credential the proxy joins your tailnet with
- Click Reserve nodes

The Deploy menu. Existing reservations are listed under Kubernetes Reservations.

Reserving two idle nodes into a new pool.

Lower in the same dialog: members and the Tailscale credential the proxy uses.

Unavailable nodes and why. gpu-13 to gpu-16 are already held by the ml-research reservation.

research-h100 with four nodes (32 GPUs) reserved for Kubernetes.
Manage a reservation
Select a reservation to see its nodes, members and proxy. Each member’s namespace is listed next to their name.
The ml-research reservation: four nodes, three members, and the proxy ready.
- Add member: the member’s namespace is created, and they can connect once it’s ready.
- Remove a member: their access is revoked and their namespace is deleted with everything in it.
- Scale: change the reserved nodes.
- Nodes being removed are drained: pods on them are evicted, respecting PodDisruptionBudgets, and any still there after 10 minutes are deleted.
- Before you confirm, the dialog shows which workloads are running on the departing nodes.
- Release: deletes every member’s namespace with everything in it, then the proxy, then frees the nodes. Prime removes the proxy’s device from your tailnet. This can’t be undone.
Connect
Each member connects from a device on the team’s tailnet.1. Create an API key
In Settings → API Keys, create a key with Clusters: read and Clusters: write. Write is needed because eachkubectl call gets its Kubernetes token with this key.
2. Join the tailnet
Sign the device you’ll runkubectl from in to your team’s tailnet, with Tailscale’s MagicDNS on, so it can reach the proxy.
3. Log in
You need the Prime CLI 0.25.1 or later.login writes one kubeconfig per cluster, with a context for each of your reservations on it. Add --pool <name> to make a particular reservation’s context the current one. Your namespace is the context’s default, so you don’t need -n.
Tokens last one hour, and kubectl gets a new one automatically when it needs it. Run prime factory k8s login again if you switch API keys or environments: the kubeconfig only works with the key it was written with.

Get my kubeconfig. The server is the reservation's proxy on your tailnet.
Running workloads
You can create and manage, in your namespace:- pods, including
kubectl exec,logs,attachandport-forward; - Deployments, ReplicaSets, StatefulSets, Jobs and CronJobs;
- Services, ConfigMaps, Secrets, PersistentVolumeClaims and ServiceAccounts;
- HorizontalPodAutoscalers and PodDisruptionBudgets.
Pod security
Namespaces enforce the Kubernetes restricted Pod Security Standard. A pod must run as a non-root user, drop all capabilities, disallow privilege escalation and use a seccomp profile:- host networking, PIDs, IPC and
hostPathvolumes; - privileged containers;
- setting
nodeName; terminationGracePeriodSecondsabove 300;- adding finalizers to your objects.
GPUs
- Members share the reservation’s GPUs, first come, first served. A pod waits in
Pendinguntil enough GPUs are free on one of the reservation’s nodes. - A single pod can only use one node’s GPUs. A pod asking for more GPUs than one node has stays
Pending.
Networking and Services
- Inbound traffic is allowed only from your own namespace.
- Outbound traffic can reach cluster DNS, your own namespace and the public internet, but not private networks, other workloads on the cluster or your tailnet.
- Services can only be
ClusterIP:NodePort,LoadBalancerandexternalIPsare not allowed. To reach a service from your machine, usekubectl port-forward.