Feat: apiserver cluster api (#2526)

* Fix: multicluster api

* Feat: add apiserver cluster api & fix codecov

* Feat: add pod capacity and resourceused stat

* Feat: add cloud cluster manage

* Test: add test for cloud cluster

* Test: pending cloud resource api

* Style: refactor

* Fix: apiserver e2e test

* Fix: fix application usecase policy bug

* Style: add returns for cluster api

* Feat: add provider detail info & add cache & add rollback protection

* Style: refactor

* Style: add error code
This commit is contained in:
Somefive
2021-10-23 00:29:43 +08:00
committed by Hongchao Deng
parent f0b91ef8d6
commit accf0138f8
24 changed files with 1575 additions and 257 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ func main() {
// wrapper the round tripper by multi cluster rewriter
if enableClusterGateway {
if err := multicluster.Initialize(restConfig); err != nil {
if _, err := multicluster.Initialize(restConfig, true); err != nil {
klog.ErrorS(err, "failed to enable multicluster")
os.Exit(1)
}