Licensing

Learn About Licensing Trilio for Kubernetes

Licensing Methodology

Trilio for Kubernetes must be presented with a valid license to operate. A license is issued as valid for a specified duration of time. The license becomes invalid once its duration expires

Licensing Trilio for Kubernetes

To generate and apply the Trilio license, perform the following steps:

1. Obtain a license by getting in touch with us herearrow-up-right. The license file will contain the license key.

2. Create a kubernetes secret with the license key using the command line or UI. If the secret is created using the command line (kubectl), you must manually create or update the license custom resource to reference the secret.

  1. Execute the following command:

kubectl create secret generic <secret_name> --from-literal=trilioLicense=<license-key>  -n <T4K-installation-namespace>
  1. Apply the license custom resource referencing the created secret:

kubectl apply -f - <<EOF
apiVersion: triliovault.trilio.io/v1
kind: License
metadata:
  name: license-sample
  namespace: <T4K-installation-namespace>
spec:
  secretRef:
    name: <secret_name> 
    namespace: <T4K-installation-namespace>
EOF
  1. If the previous step is successful, check that the output generated is similar to the following:

NAME             STATUS   MESSAGE                           EXPIRATION TIME
trilio-license   Active   License Activated successfully.   2026-02-18T00:00:00Z
circle-info

Additional license details can be obtained using the following: kubectl get license -o json

  1. Here is the sample of license YAML file.

Upgrading a license

A license upgrade is required when moving from one license type to another (Trial -> Enterprise and vice-versa). Trilio maintains only one instance of a license for every installation of Trilio for Kubernetes.

To upgrade a license, run kubectl apply -f <licensefile> -n <install-namespace> against a new license file to activate it. The previous license will be replaced automatically.

Last updated