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 ¶
func (b *KubeSchedulerBuilder) Build(c *fi.CloudupModelBuilderContext) error
Build creates the tasks relating to kube-scheduler
Click to show internal directories.
Click to hide internal directories.