Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Kubernetes Operator to orchestrate Benthos pipelines

License

NotificationsYou must be signed in to change notification settings

benthosdev/benthos-captain

Repository files navigation

Benthos Captain

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.

⚠️This is a work in progress proof of concept⚠️

Benthos Captain is a Kubernetes Operator to orchestrateBenthos pipelines.

Getting Started

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           62s

[8]ページ先頭

©2009-2025 Movatter.jp