Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
CLICommands

orl kube token

Print a cluster token as a kubectl ExecCredential, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.

orl kube token [flags]

Print a token only the cluster accepts, as the client.authentication.k8s.io/v1 ExecCredential a kubectl exec credential plugin prints. Use --role to request view or cluster-admin.

kubectl runs this command for you through the kubeconfig orl kube kubeconfig writes, so you rarely run it yourself. The token is kept in the config dir, readable only by you, and reused until five minutes before it expires; orl auth logout removes kept tokens.

Flags

FlagTypeRequired
--clusterstringyescluster id (orl kube cluster list prints them)
--roleview, cluster-adminnocredential role: view or cluster-admin

This wraps the createKubernetesClusterToken API operation.

On this page