Skip to content

🕵️‍♂️ Watch Auditor for Pepr Watch Events ⚡️

License

Notifications You must be signed in to change notification settings

cmwylie19/watch-auditor

Repository files navigation

Watch Auditor

The Watch Auditor is a tool that ensures that measures watch misses between Pepr and the kube-apiserver. The soak test is configured to delete pods from the pepr-demo namespace. The Watch Auditor deploys pods at an interval and checks to see if Pepr properly deleted them and reports any failures through Prometheus metrics.

NOTE Watch Auditor needs amd64 image for GitHub Actions. use make build-push-prod-image

Configurability:

The Watch Auditor is configured through args in the Deployment's container spec.

Start the server

Usage:
  watch-auditor serve [flags]

Flags:
  -e, --every duration          Interval to check in seconds (default 30s)
  -h, --help                    help for serve
  -l, --log-level string        Log level (debug, info, error) (default "info")
  -p, --port int                Port to listen on (default 8080)
  -n, --namespace string        Namespace to check (default "pepr-demo")

Metics

watch_controller_failures_total 10 

Developing

Deploy Dev Environment:

make deploy-dev

Check Dev Logs:

make check-logs

Check Dev Metrics:

make check-metrics

Clean up Dev Environment:

make clean-dev

unit tests:

make unit-test

integration tests:

make e2e-test

About

🕵️‍♂️ Watch Auditor for Pepr Watch Events ⚡️

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published