Documentation ¶
Overview ¶
Package kubernetes contains a controller that reconciles all controlplane components in the seed needed for Kubernetes clusters.
Index ¶
- Constants
- func Add(mgr manager.Manager, log *zap.SugaredLogger, numWorkers int, workerName string, ...) error
- func GetConfigMapCreators(data *resources.TemplateData) []reconciling.NamedConfigMapCreatorGetter
- func GetCronJobCreators(data *resources.TemplateData) []reconciling.NamedCronJobCreatorGetter
- func GetDeploymentCreators(data *resources.TemplateData, enableAPIserverOIDCAuthentication bool) []reconciling.NamedDeploymentCreatorGetter
- func GetPodDisruptionBudgetCreators(data *resources.TemplateData) []reconciling.NamedPodDisruptionBudgetCreatorGetter
- func GetServiceCreators(data *resources.TemplateData) []reconciling.NamedServiceCreatorGetter
- func GetStatefulSetCreators(data *resources.TemplateData, enableDataCorruptionChecks bool) []reconciling.NamedStatefulSetCreatorGetter
- type Features
- type Reconciler
Constants ¶
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 Reconciler ¶
type Reconciler struct { ctrlruntimeclient.Client // contains filtered or unexported fields }
Reconciler is a controller which is responsible for managing clusters
func (*Reconciler) GetSecretCreators ¶
func (r *Reconciler) GetSecretCreators(data *resources.TemplateData) []reconciling.NamedSecretCreatorGetter
GetSecretCreators returns all SecretCreators that are currently in use