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.
Click to show internal directories.
Click to hide internal directories.