Most "serverless" platforms are built around one idea: an HTTP request comes in, a function spins up, returns a response, and goes away. That's fine for webhooks. It falls apart when your events come from Kafka at 50k messages per second, when your function needs a GPU and a 2 GB model loaded in memory, or when cold starts are simply not acceptable. That's the gap Nuclio was built for.

What Nuclio is

Nuclio is a high-performance serverless framework focused on data, I/O and compute-intensive workloads. It started at Iguazio (the MLOps company behind MLRun, now part of McKinsey's QuantumBlack) and it's still the engine that runs real-time serving functions inside MLRun.

  • License: Apache 2.0 — genuinely open source, no BSL/ELv2 strings attached.
  • GitHub: nuclio/nuclio — ~5.8k stars, written in Go.
  • Current release: 1.17.x line (1.17.9 shipped in September 2026), with 1.16.x still getting security backports.
  • Runs on: plain Docker (single host) or Kubernetes (Helm chart, production setup).

The core design difference: a Nuclio function isn't a process that starts per request. Each function runs as a long-lived processor container with a pool of workers. Triggers feed events into the workers, your handler keeps its state (DB connections, loaded models) between invocations, and there's no per-request cold start.

Core features

Triggers beyond HTTP. Out of the box you get HTTP, Cron, Kafka, Kinesis, MQTT, NATS, NATS JetStream, RabbitMQ, Azure Event Hub and v3io streams. A single function can have several triggers at once — for example an HTTP endpoint for manual runs plus a cron trigger for the nightly batch. For stream triggers like Kafka, Nuclio handles partition assignment across replicas, so you don't write consumer-group plumbing yourself.

Multiple runtimes. Python, Go, Node.js, Java, .NET Core and Shell. Python and Go are the most mature and best documented — I'd start there.

GPU support. On Kubernetes you can request GPUs per function, which makes Nuclio a practical way to serve inference models as autoscaling functions rather than hand-rolled Deployments.

Scale to zero. On Kubernetes, a separate scaler component can scale idle functions to zero and wake them on the next request. Combined with minReplicas/maxReplicas per function, you decide which functions stay hot and which can sleep.

Builds from source. You push code (or a git repo, or an archive), Nuclio builds the image for you — with Docker locally, or with Kaniko inside Kubernetes so the dashboard never needs the Docker socket.

Dashboard + CLI. A web UI on port 8070 for projects, functions, logs and test invocations, and nuctl for scripting and CI pipelines.

Self-hosting

Quick start on Docker

The fastest way to try Nuclio is the dashboard container on a single Docker host. It needs the Docker socket because it builds and runs function containers on the same daemon:

# docker-compose.yml
services:
  nuclio-dashboard:
    image: quay.io/nuclio/dashboard:stable-amd64   # use stable-arm64 on ARM
    container_name: nuclio-dashboard
    restart: unless-stopped
    ports:
      - "8070:8070"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /tmp:/tmp
    environment:
      # skip pulling base images on every build once they are cached
      NUCLIO_DASHBOARD_NO_PULL_BASE_IMAGES: "true"

Run docker compose up -d, open http://localhost:8070, create a project and deploy a function from one of the templates.

Important: mounting /var/run/docker.sock gives the dashboard root-equivalent access to the host. The Nuclio docs explicitly say to avoid it in production. The Docker platform is great for development and small internal tools — but autoscaling, scale-to-zero and multi-node scheduling are Kubernetes features.

A function with two triggers

# main.py
import json

def init_context(context):
    # runs once per worker — open DB connections, load models here
    context.user_data.counter = 0

def handler(context, event):
    context.user_data.counter += 1
    body = event.body.decode() if isinstance(event.body, bytes) else event.body
    context.logger.info_with("event received", trigger=event.trigger.kind)
    return context.Response(
        body=json.dumps({"seen": context.user_data.counter, "payload": body}),
        content_type="application/json",
        status_code=200,
    )
# function.yaml
apiVersion: "nuclio.io/v1"
kind: NuclioFunction
metadata:
  name: event-counter
spec:
  runtime: python:3.11
  handler: main:handler
  minReplicas: 1
  maxReplicas: 4
  triggers:
    http:
      kind: http
      maxWorkers: 4
    nightly:
      kind: cron
      attributes:
        schedule: "0 2 * * *"
export NUCTL_PLATFORM=local      # target the local Docker daemon
nuctl deploy event-counter --path . --file function.yaml
nuctl invoke event-counter --method POST --body '{"hello":"world"}'

The same function.yaml deploys to Kubernetes later — only the platform changes. That's the part I like: you prototype on a laptop and promote the exact same spec.

Kubernetes (production)

helm repo add nuclio https://nuclio.github.io/nuclio/charts
helm repo update

kubectl create namespace nuclio
kubectl -n nuclio create secret docker-registry registry-credentials \
  --docker-server=registry.example.com \
  --docker-username=nuclio --docker-password='***'

helm install nuclio nuclio/nuclio \
  --namespace nuclio \
  --set registry.pushPullUrl=registry.example.com/nuclio \
  --set registry.secretName=registry-credentials \
  --set dashboard.containerBuilderKind=kaniko

For production, pin the chart and image versions instead of stable, use Kaniko for builds (no Docker socket), and keep functions in git so CI deploys them with nuctl deploy --platform kube on tagged releases — the same Git-tag-driven flow you'd use for any other service.

Note: chart values and runtime versions change between releases — check the Nuclio docs for your chart version before copying values verbatim.

Nuclio vs alternatives

  • Knative (Apache 2.0, CNCF) — the de facto Kubernetes serverless standard. HTTP/CloudEvents-first, huge ecosystem, but you bring your own container image and event plumbing (Knative Eventing) is a project of its own.
  • OpenFaaS — the easiest developer experience and great templates. Check the Community Edition license terms carefully before using it commercially; many production features (scale to zero, Kafka connector, multi-namespace) live in OpenFaaS Pro.
  • Fission (Apache 2.0) — fast cold starts via pre-warmed pools, simple source-to-function workflow, lighter community momentum.

Pick Nuclio if your events come from Kafka/MQTT/NATS/Kinesis rather than HTTP, you need GPUs or heavy in-memory state, or you're already in the MLRun ecosystem.
Pick Knative if you want the "standard" Kubernetes serverless layer for HTTP services and you already build your own images.
Pick OpenFaaS if developer experience is the priority and the licensing fits your use case.
Pick Fission if you mostly run small, short-lived functions and care about cold start above all.

Who it's for

Good fit:

  • Data and ML teams running stream processing or model inference
  • IoT backends ingesting MQTT at volume
  • Teams that want event-driven glue code on their own Kubernetes without writing consumers by hand

Not the right fit:

  • A handful of webhook handlers — a small container or a cron job is simpler
  • Teams with no Kubernetes who need autoscaling (the Docker platform is single-host only)
  • Anyone looking for a big plugin ecosystem — Nuclio's community is smaller than Knative's

My take

Nuclio is one of those projects that's quietly been in production for years and gets far less attention than it deserves. The processor-plus-workers model is the right call for data workloads: your function keeps its Kafka consumer, DB pool and loaded model alive, and you get serverless ergonomics (deploy code, set triggers, set replicas) without paying cold-start tax on every event.

What I'd watch: the project's center of gravity is Iguazio/MLRun, so the roadmap follows their needs. The docs are decent but occasionally lag behind releases, and the Docker platform is clearly a dev environment, not a lightweight production option. If you run Kubernetes and have real event streams, it's absolutely worth a weekend PoC — deploy one Kafka-triggered function next to your existing consumers and compare the operational overhead. If all you have is HTTP, Knative or a plain Deployment will probably serve you better.


PIPOLINE · DEVOPS CONSULTING

Need help running Nuclio on Kubernetes?

I'll set up Nuclio with Helm, Kaniko builds and your private registry, wire Kafka or MQTT triggers to your existing streams, and build a GitLab CI pipeline that deploys functions from tagged releases. You get a production-ready serverless layer on your own cluster — documented and handed over to your team.

Get in touch at pipoline.com →