---
title: "License-aware Kubernetes jobs with OpenLM LicOps | OpenLM"
description: "OpenLM LicOps checks a license before a Kubernetes job starts, routes the checkout to a server that can serve it, and records every decision."
url: https://www.openlm.com/integrations/kubernetes/
---

1.  [Home](https://www.openlm.com/)
2.  [HPC scheduler integrations](https://www.openlm.com/integrations/hpc-schedulers/)
3.  License-aware Kubernetes jobs

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.

[Book a LicOps session](https://www.openlm.com/contact-us/)

## 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

1.  **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.
2.  **Queue.** If you use Kueue, LicOps acts as an admission check: Kueue admits the workload only when its license is there.
3.  **Checkout.** The application's license checkout goes through LicOps, which routes it to a server that can serve it.
4.  **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](https://www.openlm.com/documentation/cloud/deployment-operations/licops/integrations/).

## 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](https://www.openlm.com/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](https://www.openlm.com/integrations/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)](https://www.openlm.com/supported-software/flexnet-publisher-flexlm-license-management-with-openlm/)
-   [Reprise RLM](https://www.openlm.com/supported-software/reprise-license-management-rlm-and-optimization-with-openlm/)
-   [Dassault DSLS](https://www.openlm.com/supported-software/master-your-catia-and-enovia-assets-specialized-control-for-dsls/)
-   [Sentinel RMS](https://www.openlm.com/supported-software/sentinel-rms-license-management-with-openlm/)
-   [LM-X](https://www.openlm.com/supported-software/lm-x-license-management-with-openlm/)
-   [Altair License Manager](https://www.openlm.com/supported-software/advanced-license-management-for-altair-units-with-openlm/)
-   [LS-DYNA](https://www.openlm.com/supported-software/ls-dyna-license-management-with-openlm/)
-   [IBM LUM](https://www.openlm.com/supported-software/ibm-lum-license-management-and-optimization-with-openlm/)

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](https://www.openlm.com/license-manager-capabilities/).

## 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.

[Book a LicOps session](https://www.openlm.com/contact-us/)

## 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](https://www.openlm.com/integrations/hpc-schedulers/)
-   [Slurm](https://www.openlm.com/integrations/slurm/)
-   [IBM Spectrum LSF](https://www.openlm.com/integrations/lsf/)
-   [OpenPBS and PBS Professional](https://www.openlm.com/integrations/pbs/)
-   [HPC license reporting](https://www.openlm.com/integrations/hpc-license-reporting/)
-   [OpenLM LicOps for HPC](https://www.openlm.com/product/openlm-licops-for-hpc/)
-   [LicOps vs built-in scheduler license management](https://www.openlm.com/comparison/licops-vs-scheduler-license-management/)
-   [Semiconductor & EDA](https://www.openlm.com/industry/openlm-for-semiconductor-eda/)
-   [Automotive & Mobility](https://www.openlm.com/industry/automotive/)
-   [Aerospace, Space & Defense](https://www.openlm.com/industry/openlm-for-aerospace-space-defense/)
-   [Energy, Oil & Gas](https://www.openlm.com/industry/openlm-for-energy-oil-gas/)
-   [OpenLM for the CTO and VP Engineering](https://www.openlm.com/for/cto/)
-   [OpenLM for the CFO](https://www.openlm.com/for/cfo/)
-   [Supported license managers](https://www.openlm.com/license-manager-capabilities/)
-   [OpenLM for the Chief Procurement Officer](https://www.openlm.com/for/procurement/)
-   [AI FinOps](https://www.openlm.com/ai-finops/)
-   [OpenLM MCP connector](https://www.openlm.com/features/openlm-mcp-connector/)
-   [License harvesting](https://www.openlm.com/features/license-harvesting/)
-   [OpenLM for ServiceNow](https://www.openlm.com/openlm-for-servicenow/)

Last updated 26 Nov 2026 · [Read this page as Markdown](https://www.openlm.com/integrations/kubernetes/index.md)
