kubescheduler

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName is the name of the service of the kube-scheduler.
	ServiceName = "kube-scheduler"
	// SecretName is a constant for the secret name for the kube-scheduler's kubeconfig secret.
	SecretName = "kube-scheduler"
	// SecretNameServer is the name of the kube-scheduler server certificate secret.
	SecretNameServer = "kube-scheduler-server"

	// LabelRole is a constant for the value of a label with key 'role'.
	LabelRole = "scheduler"
)

Variables

This section is empty.

Functions

func CentralLoggingConfiguration

func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)

CentralLoggingConfiguration returns a fluent-bit parser and filter for the kube-scheduler logs.

Types

type KubeScheduler

type KubeScheduler interface {
	component.DeployWaiter
	component.MonitoringComponent
	// SetSecrets sets the secrets.
	SetSecrets(Secrets)
}

KubeScheduler contains functions for a kube-scheduler deployer.

func New

func New(
	client client.Client,
	namespace string,
	version *semver.Version,
	image string,
	replicas int32,
	config *gardencorev1beta1.KubeSchedulerConfig,
) KubeScheduler

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

type Secrets

type Secrets struct {
	// Kubeconfig is a secret which can be used by the kube-scheduler to communicate to the kube-apiserver.
	Kubeconfig component.Secret
	// Server is a secret for the HTTPS server inside the kube-scheduler (which is used for metrics and health checks).
	Server component.Secret
}

Secrets is collection of secrets for the kube-scheduler.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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