License server
Requirements
What your cluster, your network and your team need before you install the license server.
The license server runs in your own Kubernetes cluster, from a Helm chart that Tangram provides, and hands out seats to every developer machine and CI job in your organization. It needs very little compute, but it does need a cluster that can pull its images, keep its data, and be reached by the machines that run Tenon. Everything below is what the chart’s defaults assume, and Configuration lists every setting you can change.
Your cluster
Kubernetes 1.23 or later, with nodes that run
linux/amd64images. The chart refuses to install on anything earlier.Helm 3 and
kubectl, on the machine you install from, and the AWS CLI if the registry Tangram gives you is in AWS.Persistent volumes from your default StorageClass, or one you name, mounted by a single node at a time (
ReadWriteOnce). The chart creates three, at the sizes you set in your values file:Volume Holds Seat store Which seats are checked out Activity store What each seat was used for: about 5 MB a day for 50 people and 200 runs Activity backups Daily snapshots of the activity store Compute for one node. A node with 2 vCPU, 4 GB of memory and 20 GB of storage runs the license server on a single-node cluster, for a trial. For a production deployment, with the two copies of the seat service the chart installs so that one is always answering, give it 4 vCPU, 8 GB of memory and 50 GB of storage.
The license server’s containers run as a user other than root, with privilege escalation off and every Linux capability dropped, and all but Valkey’s have a read-only root filesystem. They suit clusters that enforce Kubernetes’s restricted Pod Security Standard, and the chart installs network policies that deny any traffic they don’t allow.
Images
The chart runs three images: the license server and its dashboard, which Tangram publishes at the chart’s version to a private registry it gives you access to, and Valkey, the seat store, from Docker Hub. Your cluster needs credentials for that private registry, in a pull secret you name in your values file. If your cluster can’t reach it, mirror all three images into a registry it can, as Install the license server shows.
Your network
Every machine that runs Tenon, developer machines and CI runners alike, must reach the license server’s seat service, which the chart serves inside the cluster on port 8080, without TLS. To reach it from outside the cluster, you provide two things:
- A route in, with TLS, such as an Ingress on your
own controller, a gateway, or a load balancer in front of a proxy that
terminates TLS, with a certificate every machine and runner trusts.
Tenon’s bundles expect an
https://address. - A rule that lets that traffic through the chart’s network policy, which by default only admits pods in the license server’s own namespace.
Connect developers and CI covers both. The
operator dashboard is optional, and you can reach it with
kubectl port-forward instead.
From Tangram
Licensing works by exchanging a few files with Tangram, by hand, and nothing in the cluster ever contacts Tangram.
- Before you install: the address of the registry that holds the chart and its images, and credentials for it, or the images and the chart already in your own registry.
- After you install: you send the license server’s public key, with how many seats you need, and Tangram sends back a signed license and your trust root.
- Before your license expires: Tangram sends a renewed license. See Renew your license.