Shell-operator 是一个用于在 Kubernetes 集群中运行事件驱动脚本的工具。
**Shell-operator** 是一个用于在 Kubernetes 集群中运行事件驱动脚本的工具。 此操作符并非针对 _特定软件产品_(如 `prometheus-operator` 或 `kafka-operator`)的操作符。Shell-operator 通过将脚本视为由事件触发的钩子,在 Kubernetes 集群事件与 Shell 脚本之间提供集成层。可以将其视为面向脚本的 `operator-sdk`。 Shell-operator 被用作更高级的 [addon-operator](https://github.com/flant/addon-operator) 的基础,后者支持 Helm 图表和值存储。 Shell-operator 提供: - __Kubernetes集群管理简便__:使用运维人员熟悉的工具。可以是bash、Python、kubectl等。 - __Kubernetes对象事件__:钩子可由`add`、`update`或`delete`事件触发。**[了解更多](docs/src/HOOKS.md)关于钩子的信息。** - __对象选择器和属性过滤器__:shell-operator可以监控特定对象集合并检测其属性变化。 - __简单配置__:钩子绑定定义是脚本标准输出上的JSON或YAML文档。 - __验证Webhook机制__:钩子可以处理Kubernetes资源的验证。 - __转换Webhook机制__:钩子可以处理Kubernetes资源的版本转换。 # 文档 请参阅[文档](https://flant.github.io/shell-operator/)以获取更深入的信息和支持的功能。 # 示例与知名用户 关于如何使用 shell-operator 的更多示例,请参阅 [examples](examples/) 目录。 shell-operator 的典型应用场景包括: * [Deckhouse](https://deckhouse.io/) Kubernetes 平台,其中 shell-operator 和 addon-operator 这两个项目被用作配置和扩展 K8s 功能的核心技术; * KubeSphere Kubernetes 平台的 [installer](https://github.com/kubesphere/ks-installer); * Confluent 提供的 [Kafka DevOps 解决方案](https://github.com/confluentinc/streaming-ops)。 请在 [Show & tell 讨论区](ZZURL5ZZ) 中查找并分享更多示例。
暂无开放 Issues,或尚未同步最近议题。