kubernetes

package
v2.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 51 Imported by: 0

Documentation

Overview

Package kubernetes contains a controller that reconciles all controlplane components in the seed needed for Kubernetes clusters.

Index

Constants

View Source
const (
	ControllerName = "kubermatic_kubernetes_controller"
)

Variables

This section is empty.

Functions

func Add

func Add(
	mgr manager.Manager,
	log *zap.SugaredLogger,
	numWorkers int,
	workerName string,
	externalURL string,
	seedGetter provider.SeedGetter,
	userClusterConnProvider userClusterConnectionProvider,
	overwriteRegistry string,
	nodePortRange string,
	nodeAccessNetwork string,
	etcdDiskSize resource.Quantity,
	monitoringScrapeAnnotationPrefix string,
	inClusterPrometheusRulesFile string,
	inClusterPrometheusDisableDefaultRules bool,
	inClusterPrometheusDisableDefaultScrapingConfigs bool,
	inClusterPrometheusScrapingConfigsFile string,
	dockerPullConfigJSON []byte,
	nodeLocalDNSCacheEnabled bool,
	concurrentClusterUpdates int,

	oidcCAFile string,
	oidcIssuerURL string,
	oidcIssuerClientID string,
	kubermaticImage string,
	dnatControllerImage string,
	features Features) error

NewController creates a cluster controller.

func GetConfigMapCreators

func GetConfigMapCreators(data *resources.TemplateData) []reconciling.NamedConfigMapCreatorGetter

GetConfigMapCreators returns all ConfigMapCreators that are currently in use

func GetCronJobCreators

func GetCronJobCreators(data *resources.TemplateData) []reconciling.NamedCronJobCreatorGetter

GetCronJobCreators returns all CronJobCreators that are currently in use

func GetDeploymentCreators

func GetDeploymentCreators(data *resources.TemplateData, enableAPIserverOIDCAuthentication bool) []reconciling.NamedDeploymentCreatorGetter

GetDeploymentCreators returns all DeploymentCreators that are currently in use

func GetPodDisruptionBudgetCreators

func GetPodDisruptionBudgetCreators(data *resources.TemplateData) []reconciling.NamedPodDisruptionBudgetCreatorGetter

GetPodDisruptionBudgetCreators returns all PodDisruptionBudgetCreators that are currently in use

func GetServiceCreators

func GetServiceCreators(data *resources.TemplateData) []reconciling.NamedServiceCreatorGetter

GetServiceCreators returns all service creators that are currently in use

func GetStatefulSetCreators

func GetStatefulSetCreators(data *resources.TemplateData, enableDataCorruptionChecks bool) []reconciling.NamedStatefulSetCreatorGetter

GetStatefulSetCreators returns all StatefulSetCreators that are currently in use

Types

type Features

type Features struct {
	VPA                          bool
	EtcdDataCorruptionChecks     bool
	KubernetesOIDCAuthentication bool
}

type Reconciler

type Reconciler struct {
	ctrlruntimeclient.Client
	// contains filtered or unexported fields
}

Reconciler is a controller which is responsible for managing clusters

func (*Reconciler) GetSecretCreators

GetSecretCreators returns all SecretCreators that are currently in use

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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