Minikube (mini-langstream)
Last updated
Last updated
To create a LangStream cluster locally, it's recommended to use - setting 4 CPUs is highly recommended. mini-langstream
comes in help for installing and managing your local cluster.
mini-langstream requires the following commands to be already installed:
Docker
Minikube
Helm
Kubectl
LangStream CLI
MacOS:
Unix:
mini-langstream will do all the setup for you, in particular:
start minikube
in a dedicated context
deploy LangStream components using helm
run a stateful Kafka broker as docker container
run a stateful s3-compatible storage (MinIO) as docker container
forward the control plane and API Gateways ports locally
create a dedicated LangStream CLI profile to interact with the cluster
wrap all the common k8s tools to inspect the cluster (mini-langstream kubectl
, mini-langstream helm
, mini-langstream k9s
)
Start or ensure the cluster is running:
Try to use the CLI:
Deploy an application:
To delete all the storage and stop the cluster:
Here are a few ways to get started building LangStream applications:
to quickly create an OpenAI query with LangStream.
and learn how to build the needed manifests
and use the provided starter applications & agent snippets