scheduler

package
v1.91.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DeploymentName is the name of the deployment.
	DeploymentName = "gardener-scheduler"

	// ManagedResourceNameRuntime is the name of the ManagedResource for the runtime resources.
	ManagedResourceNameRuntime = "gardener-scheduler-runtime"
	// ManagedResourceNameVirtual is the name of the ManagedResource for the virtual resources.
	ManagedResourceNameVirtual = "gardener-scheduler-virtual"
)

Variables

View Source
var TimeoutWaitForManagedResource = 5 * time.Minute

TimeoutWaitForManagedResource is the timeout used while waiting for the ManagedResources to become healthy or deleted.

Functions

func GetLabels

func GetLabels() map[string]string

GetLabels returns the labels for the gardener-scheduler.

func New

func New(client client.Client, namespace string, secretsManager secretsmanager.Interface, values Values) component.DeployWaiter

New creates a new instance of DeployWaiter for the gardener-scheduler.

Types

type Values

type Values struct {
	// Image defines the container image of gardener-scheduler.
	Image string
	// LogLevel is the level/severity for the logs. Must be one of [info,debug,error].
	LogLevel string
	// RuntimeVersion is the Kubernetes version of the runtime cluster.
	RuntimeVersion *semver.Version
	// FeatureGates is the set of feature gates.
	FeatureGates map[string]bool
}

Values contains configuration values for the gardener-scheduler resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL