Oleksii Kliukin
aa517d13b4
WIP: support multiple namespaces.
...
This particular commit makes the operator listen on all namespaces
and introduces an optional namespace to the clusters RESET API
endpoints.
2018-01-09 18:36:42 +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
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
5cfdabb63e
fix regexp for api endpoint urls
2017-09-28 12:00:40 +02:00
Murat Kabilov
9a66e09b88
cluster history api endpoint
2017-09-26 14:30:45 +02:00
Murat Kabilov
83f1dbe80c
add missing return in the api server
2017-09-11 17:44:32 +02:00
Murat Kabilov
899c0bef45
Use warningf instead of warnf
2017-08-30 14:35:56 +02:00
Murat Kabilov
bf5879a71f
normalize log message text
2017-08-17 12:16:19 +02:00
Murat Kabilov
38e0ffecf7
make controllerinformer interface private;
...
use named regexp groups
2017-08-15 14:07:16 +02:00
Murat Kabilov
82d5583809
add diagnostic api http server
2017-08-15 12:20:09 +02:00