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
| Flag | Type | Required | |
|---|---|---|---|
--cluster | string | yes | cluster id (orl kube cluster list prints them) |
--role | view, cluster-admin | no | credential role: view or cluster-admin |
This wraps the createKubernetesClusterToken API operation.