HPC scheduler integrations
License-aware Kubernetes jobs with OpenLM LicOps
OpenLM LicOps makes Kubernetes jobs license-aware. The license is checked before the licensed application starts, the checkout is routed to a server that can serve it, and every decision is recorded.
Key facts
OpenLM LicOps connects to Kubernetes through an admission webhook or its admission API, and is tested under load and running in production.
- Connects through
- An admission webhook for annotated pods, or the LicOps admission API from the job
- Proven on
- Google Kubernetes Engine (GKE), tested under load and running in production; any Kubernetes cluster
- Works with
- Kubernetes Jobs and pods, and Kueue through a license admission check
- Who it's for
- Platform engineers running licensed simulation and AI workloads on Kubernetes
Why Kubernetes needs this
More simulation, EDA and AI work now runs on Kubernetes, in the cloud and on-premises. Many of these tools still check out a license from a license server when they start.
How Kubernetes handles licenses today
Not on its own. The Kubernetes scheduler manages CPU, GPU and memory. Kueue can hold a static quota for a custom resource, but it has no connection to license servers: it relies on an external admission check to know whether a license is really free.
Where Kubernetes falls short on licenses
- The pod starts, the checkout fails: Kubernetes starts the job, the application can't get a license, and the node or GPU sits idle while you pay for it.
- Retries burn compute: Applications retry the checkout, holding expensive nodes the whole time.
- Denial storms: Hundreds of pods starting together all retry the checkout. The license server is flooded with requests and denials, and slows or fails for everyone.
- No link between job and license: License use can't be traced back to the namespace, team or job.
One license pool, interactive and HPC together
Pods on Kubernetes often share licenses with engineers on desktops. LicOps counts desktop use in every admission, so a pod never starts on a license that is already gone.
Every license manager in your company, one set of rules
LicOps decides from OpenLM Platform, which monitors 100+ license managers: FlexNet Publisher (FlexLM), RLM, DSLS, Sentinel, LM-X and more. Routing and failover apply to TCP-based network license managers.
What OpenLM LicOps adds
- Checks before the job takes compute: LicOps checks the license when the job is submitted, again when it starts, and releases it when the job ends. A job no longer holds nodes while it waits for a license.
- No job takes compute without its license: A pod that can't get its license is rejected before it starts, and the Kubernetes Job retries. No node or GPU waits for a license.
- Stops denial storms: When jobs start without a license, every one of them retries the checkout. The license server is flooded with requests and denials, a denial storm, and slows down or fails for everyone, desktop users included. LicOps admits a job only when its license is there, and paces the checkouts of the jobs it admits, so the storm never starts.
- Paces checkouts with throttling: A throttle rule sets how fast checkouts may reach each license pool. When a whole job array starts at once, the extra checkouts wait a moment in order instead of stampeding the vendor daemon. Jobs are deferred, never denied.
- Picks the license server that can serve the job: If you run more than one license server, LicOps sends each request to one that can serve it. Your rules can prefer a server, keep jobs off a server, try servers in order, or refuse the request.
- Backup when a license server fails: Set a primary and a backup server for each connection. LicOps switches when the failure threshold is reached, and switches back automatically. This applies to TCP-based network license managers.
- Your rules, your priorities: Rules decide where and how fast: Deny, Force, Prefer or Exclude a server, Cascade from primary to backup to pay-per-use, Round Robin, Weighted Round Robin and Throttle. Each has conditions and a priority, can be switched on and off, and can be limited to dates, for example before a tape-out. Your FlexLM options file INCLUDE and EXCLUDE lists are applied at admission too.
- Every job leaves a record: Each license session carries the job name, queue, account and cluster. When a job waits or is refused, the record says why. No more piecing it together from scheduler and license logs.
- Refusals show up as denials: Every request LicOps refuses is reported as a denial, in the same reports as license-server denials. You see the real demand, not just what got through.
- Work never stops on a LicOps outage: With the admission webhook, if LicOps doesn't answer within 1.5 seconds, the pod starts with its own license settings and is not blocked.
How LicOps connects to Kubernetes
- Admit. An init container in the job asks LicOps for the license before the application starts. With the admission webhook, this happens automatically for annotated pods.
- Queue. If you use Kueue, LicOps acts as an admission check: Kueue admits the workload only when its license is there.
- Checkout. The application's license checkout goes through LicOps, which routes it to a server that can serve it.
- Release. The license is released when the job ends.
None of these methods changes the application image. The integration kit includes examples.
Kubernetes on its own, and with LicOps
| Kubernetes on its own | With OpenLM LicOps | |
|---|---|---|
| Knows about software licenses | No | Yes |
| Licensed application starts without a license | Yes, then fails or retries | No. Checked before it starts |
| More than one license server | Not applicable | Routes the checkout to a server that can serve it |
| Why a pod waited or failed | Application logs | One record per decision |
| Denial storms | Can happen when many jobs start without a license | Prevented: a job starts only with its license |
| Checkout bursts from job arrays | All hit the license server at once | Paced per pool by a throttle rule |
| Refused requests in reports | No | Reported as denials |
Technical notes for Kubernetes administrators
Three ways to connect
| Method | Status | How it works |
|---|---|---|
| Admission API from the job | Supported | An init container requests and dispatches the seat, the work container points LM_LICENSE_FILE at it, and a trap releases it on exit |
| Kueue admission check | Supported | Kueue admits a workload only after LicOps confirms its license, and asks again every 10 seconds while it waits |
| Admission webhook | Supported | Pods in a labeled namespace with the needs-licensing annotation get the seat requested, init containers and a sidecar injected automatically |
None of these methods changes the application image.
Webhook: label and annotations
Label the namespace with kubectl label namespace <ns> openlm.io/licensing=enabled. In the pod template, set the annotations openlm.io/needs-licensing: "true", openlm.io/vendor: "MLM", openlm.io/features: "MATLAB:1", and optionally openlm.io/job-id: "my-job".
- If LicOps refuses the seat, the pod is rejected at creation and the Job retries later.
- If LicOps doesn't answer within 1.5 seconds, the pod is admitted unchanged and uses its own license settings.
- The sidecar releases the seat when the pod ends. Put the licensed application in the first container.
Requirements
- LicOps admission API on port 8100, through its Kubernetes Service address
- Cluster-admin access for the webhook
- Kubernetes 1.29 or later only for the native-sidecar variant of the API method
Full setup guide: LicOps setup guide.
Cloud burst: use the licenses you already own
Often the licenses are free but the cluster is full. LicOps sends those jobs to cloud compute, so licenses you already paid for keep working instead of sitting idle.
It bursts in your own cloud account, on your contract, to your own license servers.
Which scheduler, cloud and instance types do you run? Contact us to check your platform.
HPC license reporting
Every license session carries its job, array task, queue, account and project. Refused requests, true denials, contention and chargeback in dollars feed OpenLM reporting in near real time, and your own BI tools.
More: HPC license reporting.
What changes, by team
| Team | Without OpenLM | With OpenLM |
|---|---|---|
| HPC and platform leads | Jobs start when both the license and the nodes are ready | Fewer stalled and failed jobs, less idle hardware |
| License administrators | Rules pick the server, a backup takes over on failure, and every job has a record | No manual reconfiguration or log hunting |
| Engineers | A job either runs or waits in the queue with a clear reason | No Monday-morning surprise from a job that failed on Friday night |
| Finance and procurement | Real demand, including refused requests, per project | Buy licenses for the real peak, and don't buy licenses when the bottleneck is compute |
License managers you'll typically find on HPC clusters
- FlexNet Publisher (FlexLM)
- Reprise RLM
- Dassault DSLS
- Sentinel RMS
- LM-X
- Altair License Manager
- LS-DYNA
- IBM LUM
LicOps decides from OpenLM Platform data for each of these. Routing and failover apply to TCP-based network license managers. All supported license managers: Supported license managers.
Low-risk rollout
- Uses the scheduler's own hooks. Nothing in the scheduler, the applications or the license servers is replaced.
- The installer backs up your configuration and never overwrites an existing hook. The uninstaller reverses the install.
- Fail-open is available: if LicOps can't answer within 2 seconds, jobs run and are logged.
- Start on one queue, see the results on your own data, then widen.
Where to start
Every environment is different: its scheduler, its license managers and its rules. A solution engineer shows LicOps on a setup like yours.
Questions and answers
Can Kubernetes or Kueue schedule software licenses?
Not by themselves. Kueue can enforce a static quota on a custom resource, but it has no connection to license servers. LicOps plugs in as its admission check, with real availability.
Does LicOps prevent license denial storms?
Yes. A denial storm is a flood of checkout requests and denials from jobs that started without a license. LicOps admits a job only when its license is there, so the retries never happen, and a throttle rule paces checkouts per license pool so a job array can't stampede the vendor daemon.
How does LicOps connect to Kubernetes?
Through an admission webhook that handles annotated pods automatically, or by calling the LicOps admission API from an init container in the job.
What happens when no license is free?
The pod is rejected at creation and a controller such as a Kubernetes Job retries later. It never holds a node or GPU waiting for a license.
Does it work on managed Kubernetes in the cloud?
Yes. LicOps is tested under load and running in production on Google Kubernetes Engine (GKE). It runs as a Docker-based component in your environment, on-premises or in the cloud, managed from OpenLM Platform.
Links
- All HPC scheduler integrations
- Slurm
- IBM Spectrum LSF
- OpenPBS and PBS Professional
- HPC license reporting
- OpenLM LicOps for HPC
- LicOps vs built-in scheduler license management
- Semiconductor & EDA
- Automotive & Mobility
- Aerospace, Space & Defense
- Energy, Oil & Gas
- OpenLM for the CTO and VP Engineering
- OpenLM for the CFO
- Supported license managers
- OpenLM for the Chief Procurement Officer
- AI FinOps
- OpenLM MCP connector
- License harvesting
- OpenLM for ServiceNow
Last updated · Read this page as Markdown