Sergey Dudoladov
ea84f9d577
Rename the configmap 'namespace' entry to avoid confusion with the map's owm namespace
2018-02-06 15:09:00 +01:00
Oleksii Kliukin
5c8bd04169
Sort database by name.
2017-12-22 15:48:13 +01:00
Oleksii Kliukin
6102b0368c
Merge remote-tracking branch 'origin/databases-rest-endpoint' into databases-rest-endpoint
...
# Conflicts:
# pkg/apiserver/apiserver.go
# pkg/controller/status.go
2017-12-22 13:08:50 +01:00
Oleksii Kliukin
9720ac1f7e
WIP: Hold the proper locks while examining the list of databases.
...
Introduce a new lock called specMu lock to protect the cluster spec.
This lock is held on update and sync, and when retrieving the spec in
the API code. There is no need to acquire it for cluster creation and
deletion: creation assigns the spec to the cluster before linking it to
the controller, and deletion just removes the cluster from the list in
the controller, both holding the global clustersMu Lock.
2017-12-22 13:06:11 +01:00
Sergey Dudoladov
b8bf97ab76
Integrate comments from code reviews
2017-12-22 12:53:57 +01:00
Sergey Dudoladov
011458fb05
Add a REST endpoint to list databases in all clusters
2017-12-21 17:28:55 +01:00
Murat Kabilov
8d5faaa5a5
return idle status when worker has nothing to do
2017-10-11 15:42:20 +02:00
Murat Kabilov
83c8d6c419
Extend diagnostic api with worker status info
2017-10-11 12:26:09 +02:00
Murat Kabilov
9a66e09b88
cluster history api endpoint
2017-09-26 14:30:45 +02:00
Murat Kabilov
53ceede3cb
show worker queue size in the cluster status
2017-08-28 12:05:33 +02:00
Murat Kabilov
82f58b57d8
add cluster and controller methods for getting status
2017-08-15 12:11:06 +02:00