shell-operator v1.0.0-rc.1
Changelog
- feat: use hooks as a validating webhook handlers (#223)
- feat: expire action to explicitly expire all metrics in group (#215)
- feat: Warn users about non-executable hooks (#220)
- feat: read only locks for queue read operations (#234)
- feat: no cgo build (#238)
- fix: prevent overflow in exponential backoff calculation (#219)
- fix: randomize resync period to eliminate cpu peaks (#226, #222)
- fix: prevent overflow in exponential backoff calculation (#219, #218)
ci, docs
- feat: multiarch docker image (amd64,arm,arm64) (#205, #184)
- fix(ci): add framework/shell, publish latest, issue templates
- fix: remove fullObjectInSnapshot from docs (#241, #240)
Installation and usage
Create image with your hooks added into /hooks directory:
Dockerfile
FROM flant/shell-operator:v1.0.0-rc.1
ADD pods-hook.sh /hooks
Push to registry, create rbac and create a Pod or Deployment:
apiVersion: v1
kind: Pod
metadata:
name: shell-operator
spec:
containers:
- name: shell-operator
image: registry.mycompany.com/shell-operator:monitor-pods
imagePullPolicy: Always
serviceAccountName: monitor-pods-acc
Check README for more information and /examples for inspiration.