dragonflydb / dragonfly-operator

A Kubernetes operator to install and manage Dragonfly instances.
https://www.dragonflydb.io/docs/managing-dragonfly/operator/installation
Apache License 2.0
144 stars 34 forks source link

feat(health): Add tests to verify fail-over #14

Closed Pothulapati closed 1 year ago

Pothulapati commented 1 year ago

Part of #8

This Commit adds health_controller_test.go that essentially tests for automatic fail-over of master if the pod goes down. It also verifies the same for replica's as pods are restarted.