curl https://api.galadriel.com/v1/leases/lse_xyz123/kubeconfig \ -H "Authorization: Bearer YOUR_API_TOKEN" \ > ~/.kube/galadriel-lse-xyz123.conf # Use with kubectl export KUBECONFIG=~/.kube/galadriel-lse-xyz123.conf kubectl get nodes
apiVersion: v1 kind: Config clusters: - cluster: certificate-authority-data: LS0tLS1CRUdJTi... server: https://api.galadriel.com name: galadriel-lse-xyz123 contexts: - context: cluster: galadriel-lse-xyz123 namespace: customer-alice-lse-xyz123 user: alice name: galadriel-lse-xyz123 current-context: galadriel-lse-xyz123 users: - name: alice user: token: eyJhbGciOiJSUzI1NiIsImtpZCI6IjEyMyJ9...
Get the kubeconfig for a lease to access the Kubernetes cluster
Documentation IndexFetch the complete documentation index at: https://docs.galadriel.co/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.galadriel.co/llms.txt
Use this file to discover all available pages before exploring further.
kubectl
# Set as current context export KUBECONFIG=~/.kube/galadriel-lse-xyz123.conf # View nodes kubectl get nodes # Deploy workloads kubectl apply -f job.yaml # Check GPU availability kubectl describe nodes | grep nvidia.com/gpu