mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-21 08:33:49 +00:00
@@ -18,6 +18,9 @@ import (
|
||||
|
||||
// RunControllerManager starts the controllers on hub to make placement decisions.
|
||||
func RunControllerManager(ctx context.Context, controllerContext *controllercmd.ControllerContext) error {
|
||||
kubeConf := controllerContext.KubeConfig
|
||||
kubeConf.QPS = 50
|
||||
kubeConf.Burst = 100
|
||||
clusterClient, err := clusterclient.NewForConfig(controllerContext.KubeConfig)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user