# @nest-batch/kubernetes

> Kubernetes Job one-off execution adapter for @nest-batch/core.

Latest version **0.2.1** (published 2026-06-25) · MIT license · 143 weekly downloads

## Install

```sh
npm install @nest-batch/kubernetes
pnpm add @nest-batch/kubernetes
yarn add @nest-batch/kubernetes
bun add @nest-batch/kubernetes
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score; growing popularity.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2026-06-25 |
| First published | 2026-06-24 |
| Weekly downloads | 143 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 48.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | easdkr |
| Maintainers | zzazza |
| Keywords | nestjs, batch, kubernetes, job |

## Links

- npm: https://www.npmjs.com/package/@nest-batch/kubernetes
- Repository: https://github.com/easdkr/nest-batch
- Homepage: https://github.com/easdkr/nest-batch/tree/main/packages/kubernetes#readme
- Issues: https://github.com/easdkr/nest-batch/issues
- npm.io page: https://npm.io/package/@nest-batch/kubernetes

## Alternatives

- [cron](https://npm.io/package/cron.md) — 4.9M weekly downloads
- [@vercel/queue](https://npm.io/package/@vercel/queue.md) — 731.6K weekly downloads
- [create-sonicjs](https://npm.io/package/create-sonicjs.md) — 1.6K weekly downloads
- [@exellix/jobs-api](https://npm.io/package/@exellix/jobs-api.md) — 941 weekly downloads
- [@forwardimpact/libskill](https://npm.io/package/@forwardimpact/libskill.md) — 575 weekly downloads

## Recent versions

- 0.2.1 (latest) — 2026-06-25
- 0.2.0 — 2026-06-24

## README

# @nest-batch/kubernetes

Kubernetes Job one-off execution adapter for `@nest-batch/core`.

Korean: [README.ko.md](./README.ko.md)

## Install

```bash
pnpm add @nest-batch/core @nest-batch/kubernetes
```

Provide a client object with a `createJob(input)` method. It can wrap the
Kubernetes API client your application uses.

## Public Imports

```ts
import {
  KubernetesJobAdapter,
  KubernetesJobLauncher,
  type KubernetesJobModuleOptions,
} from '@nest-batch/kubernetes';
```

## Wiring

```ts
import { KubernetesJobAdapter } from '@nest-batch/kubernetes';

NestBatchModule.forRoot({
  adapters: {
    persistence: persistenceAdapter,
    transport: KubernetesJobAdapter.forRoot({
      client: kubernetesJobsClient,
      namespace: 'batch',
      image: 'registry.example.com/orders-worker:latest',
      containerName: 'batch-worker',
      command: ['node', 'dist/batch-worker.js'],
      serviceAccountName: 'batch-worker',
    }),
  },
});
```

---
_Source: https://npm.io/package/@nest-batch/kubernetes · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
