scheduler

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 21 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, apiPort *int32, ciphers []string, tlsVersion string, disableProfiling bool) 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, images map[string]string, 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