scheduler

package
v0.1.34 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 22 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, profile configv1.SchedulerProfile) error

func ReconcileDeployment

func ReconcileDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, config config.DeploymentConfig, image string, featureGates []string, policy configv1.ConfigMapNameReference, availabilityProberImage string, ciphers []string, tlsVersion string, disableProfiling bool, schedulerConfig *corev1.ConfigMap, platformType hyperv1.PlatformType) error

Types

type KubeSchedulerParams

type KubeSchedulerParams struct {
	FeatureGate             *configv1.FeatureGateSpec `json:"featureGate"`
	Scheduler               *configv1.SchedulerSpec   `json:"scheduler"`
	OwnerRef                config.OwnerRef           `json:"ownerRef"`
	HyperkubeImage          string                    `json:"hyperkubeImage"`
	AvailabilityProberImage string                    `json:"availabilityProberImage"`
	config.DeploymentConfig `json:",inline"`
	APIServer               *configv1.APIServerSpec `json:"apiServer"`
	DisableProfiling        bool                    `json:"disableProfiling"`
}

func NewKubeSchedulerParams

func NewKubeSchedulerParams(ctx context.Context, hcp *hyperv1.HostedControlPlane, releaseImageProvider *imageprovider.ReleaseImageProvider, setDefaultSecurityContext bool) *KubeSchedulerParams

func (*KubeSchedulerParams) CipherSuites

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

func (*KubeSchedulerParams) FeatureGates

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

func (*KubeSchedulerParams) MinTLSVersion

func (p *KubeSchedulerParams) MinTLSVersion() string

func (*KubeSchedulerParams) SchedulerPolicy

func (*KubeSchedulerParams) SchedulerProfile added in v0.1.5

func (p *KubeSchedulerParams) SchedulerProfile() configv1.SchedulerProfile

Jump to

Keyboard shortcuts

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