orl kubernetes token
Print a cluster token as a kubectl ExecCredential, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.
orl kubernetes token --cluster <cluster>Print a token only the cluster accepts, as the client.authentication.k8s.io/v1 ExecCredential a kubectl exec credential plugin prints. The token carries view unless --role asks for cluster-admin.
kubectl runs this command for you through the kubeconfig entry orl kubernetes update-kubeconfig adds, 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 kubernetes cluster list prints them) |
--role | view, cluster-admin | no | credential role: view (the default) or cluster-admin |
This wraps the createKubernetesClusterToken API operation.
orl kubernetes node-pool update
Update a node pool (asks for confirmation; --yes to skip), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.
orl kubernetes update-kubeconfig
Add the cluster to a kubeconfig and switch kubectl to it, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.