scheduler

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeSchedulerConfigKey = "config.json"
)

Variables

This section is empty.

Functions

func ReconcileConfig

func ReconcileConfig(config *corev1.ConfigMap, ownerRef config.OwnerRef) error

func ReconcileDeployment

func ReconcileDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, config config.DeploymentConfig, image string, featureGates []string, policy configv1.ConfigMapNameReference) error

Types

type KubeSchedulerParams

type KubeSchedulerParams struct {
	FeatureGate             *configv1.FeatureGate `json:"featureGate"`
	Scheduler               *configv1.Scheduler   `json:"scheduler"`
	OwnerRef                config.OwnerRef       `json:"ownerRef"`
	HyperkubeImage          string                `json:"hyperkubeImage"`
	config.DeploymentConfig `json:",inline"`
}

func NewKubeSchedulerParams

func NewKubeSchedulerParams(ctx context.Context, hcp *hyperv1.HostedControlPlane, images map[string]string, globalConfig config.GlobalConfig) *KubeSchedulerParams

func (*KubeSchedulerParams) FeatureGates

func (p *KubeSchedulerParams) FeatureGates() []string

func (*KubeSchedulerParams) SchedulerPolicy

Jump to

Keyboard shortcuts

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