Overview of Shell-operator
mainShell-operator is an integration layer for Kubernetes that allows you to run event-driven scripts (bash, python, kubectl, etc.) in response to cluster events. It treats scripts as 'hooks' that are triggered by Kubernetes object events. It is designed to be an easier alternative to operator-sdk for users who want to use familiar shell tools instead of writing complex Go code.
Key capabilities include:
- Event Triggers: Hooks can be triggered by
add,update, ordeleteevents. - Filtering: Monitor specific objects using selectors and property filters.
- Configuration: Hook bindings are defined via JSON or YAML documents emitted to the script's stdout.
- Webhooks: Supports validating webhook machinery and conversion webhook machinery for Kubernetes resources.