This doc explains how to set up a development environment for Numaflow.
go
1.19+git
kubectl
protoc
for compiling protocol buffersNode.js®
for running the UIyarn
k3d
for local development, if needed
# Create a cluster with default name k3s-default
k3d cluster create -i rancher/k3s:v1.24.4-k3s1
# Get kubeconfig for the cluster
k3d kubeconfig get k3s-default
-
make build
Binaries are placed in./dist
. -
make codegen
Run after making changes to./pkg/api/
. -
make test
Run unit tests. -
make image
Build container image, and import it tok3d
cluster if correspondingkubeconfig
is sourced. -
make start
Build the source code, image, and install the Numa controller in thenumaflow-system
namespace. -
make docs
Convert the docs to Github pages, check if there's any error. -
make docs-serve
Start an HTTP server on your local to host the docs generated Github pages.