kubescheduler

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const KubeConfigPath = "/var/lib/kube-scheduler/kubeconfig"

Kubeconfig is the path where we write the kube-scheduler kubeconfig file (on the control-plane nodes)

View Source
const KubeSchedulerConfigPath = "/var/lib/kube-scheduler/config.yaml"

KubeSchedulerConfigPath is the path where we write the kube-scheduler config file (on the control-plane nodes)

Variables

This section is empty.

Functions

func MapToUnstructured

func MapToUnstructured(options interface{}, target *unstructured.Unstructured) error

MapToUnstructured reflects the options interface and extracts the parameters for the config file

Types

type KubeSchedulerBuilder

type KubeSchedulerBuilder struct {
	*model.KopsModelContext
	Lifecycle    fi.Lifecycle
	AssetBuilder *assets.AssetBuilder
}

KubeSchedulerBuilder builds the configuration file for kube-scheduler

func (*KubeSchedulerBuilder) Build

Build creates the tasks relating to kube-scheduler

Jump to

Keyboard shortcuts

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