Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Override the client-go default 5 qps and 10 burst DefaultSchedulerClientQPS = 100 DefaultSchedulerClientBurst = 500 // DefaultRequestTimeout is set for all client-go request. This is the absolute // timeout of the HTTP request, including reading the response body. DefaultRequestTimeout = 30 * time.Second VirtualClusterWorker = 3 SuperClusterWorker = 3 KubeconfigAdminSecretName = "admin-kubeconfig" InternalSchedulerCache = "tenancy.x-k8s.io/schedulercache" InternalSchedulerEngine = "tenancy.x-k8s.io/schedulerengine" InternalSchedulerManager = "tenancy.x-k8s.io/schedulermanager" )
Variables ¶
View Source
var SchedulerUserAgent = "scheduler" + version.BriefVersion()
View Source
var ShadowClusterCapacity = v1.ResourceList{ v1.ResourceCPU: resource.MustParse(fmt.Sprintf("%d", math.MaxInt32)), v1.ResourceMemory: resource.MustParse(fmt.Sprintf("%dGi", math.MaxInt32)), }
shadowcluster has a fake "unlimited" capacity
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.