github flant/shell-operator v1.0.0-beta.11
shell-operator v1.0.0-beta.11

latest releases: v1.4.12, v1.4.11, v1.4.10...
4 years ago

Changelog

features

  • more Prometheus metrics for better observability (#176 #180, issues: #123 #137 #30 #166)
  • hook can expire its metrics with group option (#176, docs: #183)
  • merge snaphosts for group and includeSnapshotsFrom #179
  • option to discard full objects after applying jqFilter #178
  • --hook-metrics-listen-port flag to separate ports for observability metrics and hook metrics #190

libjq fixes

  • fix submodule problems #177
  • catch compile errors #179, #182

fixes

  • add "queue" label to fix labels cardinality #190
  • exit on signal was broken (issue #186, fix #176)

Installation and usage

Create image with your hooks added into /hooks directory:

Dockerfile

FROM flant/shell-operator:v1.0.0-beta.11
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.

Don't miss a new shell-operator release

NewReleases is sending notifications on new releases.