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](https://github.com/flant/shell-operator/blob/master/README.md) for more information and [/examples](https://github.com/flant/shell-operator/tree/master/examples) for the inspiration.