Commit Graph
4 Commits
Author SHA1 Message Date
zhoulin xie 7f8d3a35c5 Fix typo in config.go
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
2019-03-10 20:32:04 +08:00
Yannis Zarkadas a9178ccb59 cassandra: sidecar-side implementation of scale down
The sidecar now has a control loop, which watches its ClusterIP
Service for the `cassandra.rook.io/decommissioned` label.
If it finds it, then it decommissions and updates the label to
value "true".

Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com>
2018-12-07 13:46:46 +02:00
Yannis Zarkadas 8440d52e7d cassandra: unit tests
Added unit tests for the controller and sidecar packages.

Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com>
2018-12-05 12:48:25 +02:00
Yannis Zarkadas 367d485407 cassandra: sidecar implementation
Implementation of the cassandra sidecar logic.
This sidecar helps us inject our custom values during startup
and provides HTTP liveness and readiness checks.
In the future it will also be used for:
- Shutting Down / Decommissioning a cassandra instance
- Backups
- Restores

Signed-off-by: Yannis Zarkadas <yanniszarkadas@gmail.com>
2018-12-05 12:47:26 +02:00