×

nf-k8s @ 1.4.0

Provider: nextflow-io
Claimed: 09 Sep 2025 19:36:50 (UTC)
Description: Provides native Kubernetes execution capability with advanced pod management, volume mounting, and resource allocation features
Latest version: 1.4.0
Total downloads: 23.1K View trends

nf-k8s

This plugin provides native Kubernetes execution capability for Nextflow pipelines, with support for 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/config file
  • KUBECONFIG environment 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']]
}

Resources

License

Apache License 2.0

Nextflow version >=25.11.0-edge
Depends On -
Release Date 13 Dec 2025 12:58:39 (UTC)
Release Notes -
Download URL https://registry-dev.nextflow.io/api/v1/plugins/nf-k8s/1.4.0/download/nf-k8s-1.4.0.zip
Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-dev/nf-k8s/blobs/sha256:88df99fbbb615d7c2f60c535041d468b1bc93b1be8e989436afd24b56fce1ed9
Size 8.8 MB
Checksum cc2544f652370ba1719132540bf755d99b3edd45afbe45571d3a12ebc68832138046e6658570b0aa410ce15fa297a277fe4c4bdf66685a9922d1442f9457a564
Total downloads 2 View trends
Security Scan
Version Nextflow version Date Status Downloads
1.4.0 >=25.11.0-edge 13 Dec 2025 12:58:39 (UTC) 2
1.2.1 >=25.08.0-edge 08 Oct 2025 18:16:34 (UTC) 2
1.3.0 >=25.08.0-edge 07 Oct 2025 16:22:38 (UTC) 2
1.2.0 >=25.08.0-edge 14 Sep 2025 19:39:36 (UTC) 2
1.1.1 >=25.07.0-edge 15 Aug 2025 14:36:44 (UTC) 73
1.1.0 >=25.05.0-edge 02 Jun 2025 19:45:07 (UTC) 222
1.0.0 >=25.03.0-edge 23 Apr 2025 10:48:31 (UTC) 22.8K