Managing License
Which TensorFusion components need a license, and how to install, verify and rotate a license key in a cluster
Most of TensorFusion is open source and runs without a license. The exception is the vGPU worker, the component behind remote vGPU mode and hard isolation: it checks a license key when it starts. This guide explains what needs a license, how to install or rotate a key, and how to tell that a key was accepted.
What needs a license
| Part | License | Key needed in the cluster |
|---|---|---|
| Controller, scheduler, webhook, hypervisor, GPU pooling and management | Open source, Apache 2.0 | No |
| Soft isolation (the in-process limiter) | Open source, Apache 2.0 | No |
shared (whole GPU) and partitioned (MIG) allocation | Open source, Apache 2.0 | No |
| vGPU worker: remote vGPU mode, hard isolation, sidecar worker | Commercial. Free for organizations with fewer than 10 GPUs in total | Yes |
| Enterprise features of the TensorFusion Console | Commercial | No. Tied to your Console organization |
For plans and prices, see the pricing page. To request, extend or renew a license key, write to support@tensor-fusion.com.
What is not available today:
- There is no self-service page to buy license keys or to view license usage. Keys are issued by the TensorFusion team.
- The controller does not check or report the license. No custom resource shows the license state or its expiry date. Only the worker checks the key, so keep track of the expiry date yourself.
How the license check works
A license consists of two strings:
| Value | Environment variable on the worker | Content |
|---|---|---|
| License text | TF_LICENSE | Edition, expiry time and, for licenses bound to hardware, the UUIDs of the licensed GPUs |
| Signature | TF_LICENSE_SIGN | Signature of the license text |
When a worker starts, it verifies the signature, checks that the license has not expired and, for a hardware-bound license, checks that the GPUs it sees are covered. If any check fails, the worker logs the reason and exits, and the application that depends on it cannot use the GPU.
The check runs inside the worker and needs no network access, so it works the same way in a fully on-premises cluster.
Install or rotate a license key
Prerequisites
- The license text and its signature, as received from TensorFusion.
- Permission to edit the
TensorFusionClusterresource.
Step 1. Set the key on the GPU pool
The worker takes its environment from the worker pod template of the GPU pool. Edit the cluster:
kubectl edit tensorfusioncluster tensor-fusionAdd the two variables to the tensorfusion-worker container of every pool that runs workers:
apiVersion: tensor-fusion.ai/v1
kind: TensorFusionCluster
metadata:
name: tensor-fusion
spec:
gpuPools:
- name: shared
specTemplate:
componentConfig:
worker:
podTemplate:
template:
spec:
containers:
- name: tensorfusion-worker
env:
# ... keep the existing variables ...
- name: TF_LICENSE // [!code highlight]
value: "<license text>"
- name: TF_LICENSE_SIGN // [!code highlight]
value: "<signature>"To rotate a key, replace both values in the same edit. The signature belongs to one license text, so a new text with the old signature is rejected.
The same template is used for standalone worker Pods (remote vGPU mode) and for the worker sidecar injected into application Pods (hard isolation in local mode).
Step 2. Restart the workers
Workers read the key only at startup. Workers that are already running keep the old key until they are recreated.
- With
nodePoolRollingUpdatePolicy.autoUpdateWorker: trueon the pool, the controller recreates the workers in batches after the change. - Otherwise, restart the affected workloads yourself, for example with
kubectl rollout restart deployment/<name>.
Rotate before the old key expires. A worker that is running does not stop at the expiry time, but it fails the check the next time it starts.
Step 3. Verify
Find the workers and read their logs:
kubectl get pods -A -l tensor-fusion.ai/component=worker
kubectl logs -n <namespace> <worker-pod> -c tensorfusion-worker | grep -i licenseFor a sidecar worker, use the application Pod's name with the same container name.
A line containing License verification passed shows the edition and the expiry time the worker accepted. The worker writes this log when TF_ENABLE_LOG is 1 in the worker template, which is the default in the Helm chart.
Troubleshooting
| Worker log | Cause | Fix |
|---|---|---|
License is not set | TF_LICENSE or TF_LICENSE_SIGN is missing in the worker container | Add both variables to the pool's worker template, then restart the worker |
License verification failed | The text and the signature do not match, often because one was truncated or changed when copied | Paste both values again exactly as issued, in quotes |
License has expired | The expiry time has passed | Request a new key and rotate it |
Device UUID ... is not found in the license | The license is bound to specific GPUs and this node has a GPU that is not covered | Request a key that covers the new GPUs |
Check that the running Pod actually carries the variables:
kubectl get pod -n <namespace> <worker-pod> \
-o jsonpath='{range .spec.containers[?(@.name=="tensorfusion-worker")].env[*]}{.name}{"\n"}{end}'Next steps
- Upgrade Components: how worker updates roll out.
- Workload annotations reference: which annotations select remote mode, hard isolation or a sidecar worker.
- Troubleshooting Handbook
TensorFusion Docs