nf-k8s @ 1.4.0
Summary
The Kubernetes plugin provides native Kubernetes execution capability for Nextflow pipelines. It supports pod management, volume mounting, and resource allocation.
Get Started
To use this plugin, add it to your nextflow.config:
plugins {
id 'nf-k8s'
}
Configure the Kubernetes executor:
process.executor = 'k8s'
k8s {
namespace = 'default'
serviceAccount = 'nextflow'
storageClaimName = 'nextflow-pvc'
}
The plugin automatically detects the Kubernetes configuration from:
- In-cluster configuration (when running inside a pod)
~/.kube/configfileKUBECONFIGenvironment variable
Examples
Basic Kubernetes Configuration
plugins {
id 'nf-k8s'
}
process.executor = 'k8s'
k8s {
namespace = 'nextflow'
serviceAccount = 'nextflow-sa'
storageClaimName = 'nf-workdir-pvc'
storageMountPath = '/workspace'
}
workDir = '/workspace/work'
Pod Configuration
k8s {
namespace = 'nextflow'
pod = [
[volumeClaim: 'data-pvc', mountPath: '/data'],
[secret: 'aws-credentials', mountPath: '/root/.aws']
]
}
Resource Requests
process {
executor = 'k8s'
cpus = 2
memory = '4 GB'
pod = [[label: 'app', value: 'nextflow']]
}
License
Apache License 2.0
| Nextflow version | >=25.12.0-edge |
|---|---|
| Depends On | - |
| Release Date | 19 Dec 2025 12:52:05 (UTC) |
| Release Notes | - |
| Download URL | https://registry.nextflow.io/api/v1/plugins/nf-k8s/1.4.0/download/nf-k8s-1.4.0.zip |
| Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/nf-k8s/blobs/sha256:ff3388ebb47f96d567f7bcf80dd369670ebb4da990bad6252bb208e25f332a0a |
| Size | 8.8 MB |
| Checksum | fe1963b9fc29b0d23e42a526ebbbcc09b4286d161cc99f9c8f7c195b89d4dd3c2f658ab757a63ae1a834afa93141eee7ca807f2945efd164418123808ce55d3b |
| Total downloads | 80 View trends |
| Security Scan |
| Version | Nextflow version | Date | Status | Downloads |
|---|---|---|---|---|
| 1.4.0 | >=25.12.0-edge | 19 Dec 2025 12:52:05 (UTC) | 80 | |
| 1.3.0 | >=25.11.0-edge | 28 Nov 2025 21:12:17 (UTC) | 100 | |
| 1.2.2 | >=25.09.2-edge | 21 Oct 2025 15:57:16 (UTC) | 4.6K | |
| 1.2.1 | >=25.08.0-edge | 08 Oct 2025 18:21:55 (UTC) | 4 | |
| 1.0.1 | >=25.03.0-edge | 06 Oct 2025 21:32:44 (UTC) | 7.3K | |
| 1.2.0 | >=25.08.0-edge | 14 Sep 2025 20:20:50 (UTC) | 34 | |
| 1.1.1 | >=25.07.0-edge | 15 Aug 2025 14:36:44 (UTC) | 437 | |
| 1.1.0 | >=25.05.0-edge | 02 Jun 2025 19:45:07 (UTC) | 112 | |
| 1.0.0 | >=25.03.0-edge | 23 Apr 2025 10:48:31 (UTC) | 19.7K |