---
title: Kubernetes
description: Reference for the k8s executor, which submits tasks to a Kubernetes cluster.
---

# Kubernetes

The `k8s` executor runs pipeline tasks on a [Kubernetes](http://kubernetes.io/) cluster. It submits each task as a Kubernetes pod, or as a Kubernetes job when [`k8s.computeResourceType`][config-k8s] is set to `Job`.

Use the following process directives to control resource requests and other job characteristics:

- [accelerator][process-accelerator]
- [cpus][process-cpus]
- [disk][process-disk]
- [memory][process-memory]
- [pod][process-pod]
- [resourcelabels][process-resourcelabels]
- [time][process-time]

See [Kubernetes][k8s-page] for how to set up a Kubernetes cluster to run Nextflow pipelines.

[config-k8s]: ../reference/config/k8s
[k8s-page]: ../kubernetes
[process-accelerator]: ../reference/process#accelerator
[process-cpus]: ../reference/process#cpus
[process-disk]: ../reference/process#disk
[process-memory]: ../reference/process#memory
[process-pod]: ../reference/process#pod
[process-resourcelabels]: ../reference/process#resourcelabels
[process-time]: ../reference/process#time
