- Notifications
You must be signed in to change notification settings - Fork14
A Kubernetes Operator to orchestrate Benthos pipelines
License
benthosdev/benthos-captain
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
⚠️ This is a work in progress proof of concept⚠️
Benthos Captain is a Kubernetes Operator to orchestrateBenthos pipelines.
Currently, there isn't a stable release of the operator. If you want to install the operator for development purposes, you can follow thedeveloper guide.
The operator provides a custom resource for managing Benthos pipelines. Once you've got the operator running, you can deploy aPipeline resource to test it out:
---apiVersion:captain.benthos.dev/v1alpha1kind:Pipelinemetadata:name:pipeline-samplespec:replicas:1config:input:generate:mapping:| let favorite_animal = env("FAVORITE_ANIMAL") root = match $favorite_animal { "cat" => file("/config/cat.txt") "dog" => file("/config/dog.txt") _ => file("/config/dog.txt") }interval:5scount:0pipeline:processors: -mapping:root = content().uppercase()output:stdout:{}configFiles:cat.txt:| meowdog.txt:| woofenv: -name:FAVORITE_ANIMALvalue:cat
Once the resource is deployed, you can monitor the state of the resource:
kubectl get pipelinesNAME READY PHASE REPLICAS AVAILABLE AGEpipeline-sampletrue Running 2 2 62sAbout
A Kubernetes Operator to orchestrate Benthos pipelines
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.