Nomploy Nomad Packs

← All packs

redpanda v0.1.0

Messaging

Redpanda — a Kafka-compatible streaming data platform in a single binary (no ZooKeeper/JVM), with a Kafka API, HTTP proxy, and schema registry. Deployed here as a single-node dev-container instance, host-networked with a data volume. A lighter drop-in for Apache Kafka.

nomad-pack run redpanda --registry nomploy
2 tasks kafka 9092admin 9644proxy 8082schema 8081 1 volume image redpandadata/redpanda:latest
Variables 13
values.hcl

Save as values.hcl, edit, then run:

nomad-pack run redpanda -f values.hcl --registry nomploy
# The name of the Nomad job.
job_name = "redpanda"

# The Nomad namespace to deploy into.
namespace = "default"

# The datacenters to deploy to.
datacenters = ["*"]

# The Redpanda container image. Pin a tag in production.
image = "redpandadata/redpanda:latest"

# Host port for the Kafka API.
kafka_port = 9092

# Host port for the Redpanda Admin API.
admin_port = 9644

# Host port for the HTTP (Panda) Proxy.
proxy_port = 8082

# Host port for the Schema Registry.
schema_port = 8081

# Host/IP advertised to Kafka clients. 127.0.0.1 works for co-located clients; set this to the node's IP for remote consumers/producers.
advertise_host = "127.0.0.1"

# UID Redpanda runs as. The data volume is chown'd to this at startup.
uid = 101

# Named volume for Redpanda's data (/var/lib/redpanda/data).
data_volume = "redpanda_data"

# Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []

# The task resources.
resources = {
    cpu    = 1000
    memory = 1024
  }
NameTypeDefaultDescription
job_name string
"redpanda"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"redpandadata/redpanda:latest"
The Redpanda container image. Pin a tag in production.
kafka_port number
9092
Host port for the Kafka API.
admin_port number
9644
Host port for the Redpanda Admin API.
proxy_port number
8082
Host port for the HTTP (Panda) Proxy.
schema_port number
8081
Host port for the Schema Registry.
advertise_host string
"127.0.0.1"
Host/IP advertised to Kafka clients. 127.0.0.1 works for co-located clients; set this to the node's IP for remote consumers/producers.
uid number
101
UID Redpanda runs as. The data volume is chown'd to this at startup.
data_volume string
"redpanda_data"
Named volume for Redpanda's data (/var/lib/redpanda/data).
constraints list
[]
Placement constraints. Pin to the node holding the volume. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 1000
    memory = 1024
  }
The task resources.
Readme

redpanda

Redpanda — a Kafka-compatible streaming data platform in a single binary (no ZooKeeper, no JVM), with a Kafka API, HTTP (Panda) Proxy, and Schema Registry. A lighter drop-in for Apache Kafka.

Single-node dev-container instance, host-networked with a data volume and a busybox chown init.

Deploy

nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run redpanda --registry=nomploy

Configure

Variable Default Description
kafka_port 9092 Kafka API.
admin_port 9644 Admin API.
proxy_port 8082 HTTP (Panda) Proxy.
schema_port 8081 Schema Registry.
advertise_host 127.0.0.1 Host advertised to Kafka clients — set to the node IP for remote clients.
uid 101 User Redpanda runs as; data volume is chown'd to it.
data_volume redpanda_data /var/lib/redpanda/data.
image redpandadata/redpanda:latest Image. Pin a tag in production.
resources { cpu = 1000, memory = 1024 } Task resources.

advertise_host is the classic Kafka footgun: clients connect to the advertised address, so 127.0.0.1 only works for producers/consumers on the same host — set the node IP otherwise. This is a single-node dev-container deployment, not a production cluster. Ports 8081/8082 overlap some other packs' defaults; change them if co-locating. Pin the job with constraints.