Documentation ¶
Overview ¶
Package controlplanecontroller 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 GetConfigMapReconcilers(data *resources.TemplateData) []reconciling.NamedConfigMapReconcilerFactory
- func GetCronJobReconcilers(data *resources.TemplateData) []reconciling.NamedCronJobReconcilerFactory
- func GetDeploymentReconcilers(data *resources.TemplateData, enableAPIserverOIDCAuthentication bool) []reconciling.NamedDeploymentReconcilerFactory
- func GetPodDisruptionBudgetReconcilers(data *resources.TemplateData) []reconciling.NamedPodDisruptionBudgetReconcilerFactory
- func GetServiceReconcilers(data *resources.TemplateData) []reconciling.NamedServiceReconcilerFactory
- func GetStatefulSetReconcilers(data *resources.TemplateData, enableDataCorruptionChecks bool, ...) []reconciling.NamedStatefulSetReconcilerFactory
- type Features
- type Reconciler
- func (r *Reconciler) AddFinalizers(ctx context.Context, cluster *kubermaticv1.Cluster, finalizers ...string) (*reconcile.Result, error)
- func (r *Reconciler) GetSecretReconcilers(ctx context.Context, data *resources.TemplateData) []reconciling.NamedSecretReconcilerFactory
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Constants ¶
const (
ControllerName = "kkp-control-plane-controller"
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add( mgr manager.Manager, log *zap.SugaredLogger, numWorkers int, workerName string, datacenterGetter provider.DatacenterGetter, configGetter provider.KubermaticConfigurationGetter, userClusterConnProvider userClusterConnectionProvider, overwriteRegistry string, nodeAccessNetwork string, etcdDiskSize resource.Quantity, userClusterMLAEnabled bool, dockerPullConfigJSON []byte, concurrentClusterUpdates int, backupSchedule time.Duration, oidcIssuerURL string, oidcIssuerClientID string, kubermaticImage string, etcdLauncherImage string, dnatControllerImage string, machineControllerImageTag string, machineControllerImageRepository string, tunnelingAgentIP string, caBundle *certificates.CABundle, features Features, versions kubermatic.Versions, ) error
NewController creates a cluster controller.
func GetConfigMapReconcilers ¶
func GetConfigMapReconcilers(data *resources.TemplateData) []reconciling.NamedConfigMapReconcilerFactory
GetConfigMapReconcilers returns all ConfigMapReconcilers that are currently in use.
func GetCronJobReconcilers ¶
func GetCronJobReconcilers(data *resources.TemplateData) []reconciling.NamedCronJobReconcilerFactory
GetCronJobReconcilers returns all CronJobReconcilers that are currently in use.
func GetDeploymentReconcilers ¶
func GetDeploymentReconcilers(data *resources.TemplateData, enableAPIserverOIDCAuthentication bool) []reconciling.NamedDeploymentReconcilerFactory
GetDeploymentReconcilers returns all DeploymentReconcilers that are currently in use.
func GetPodDisruptionBudgetReconcilers ¶
func GetPodDisruptionBudgetReconcilers(data *resources.TemplateData) []reconciling.NamedPodDisruptionBudgetReconcilerFactory
GetPodDisruptionBudgetReconcilers returns all PodDisruptionBudgetReconcilers that are currently in use.
func GetServiceReconcilers ¶
func GetServiceReconcilers(data *resources.TemplateData) []reconciling.NamedServiceReconcilerFactory
GetServiceReconcilers returns all service creators that are currently in use.
func GetStatefulSetReconcilers ¶
func GetStatefulSetReconcilers(data *resources.TemplateData, enableDataCorruptionChecks bool, enableTLSOnly bool) []reconciling.NamedStatefulSetReconcilerFactory
GetStatefulSetReconcilers returns all StatefulSetReconcilers 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) AddFinalizers ¶
func (r *Reconciler) AddFinalizers(ctx context.Context, cluster *kubermaticv1.Cluster, finalizers ...string) (*reconcile.Result, error)
func (*Reconciler) GetSecretReconcilers ¶
func (r *Reconciler) GetSecretReconcilers(ctx context.Context, data *resources.TemplateData) []reconciling.NamedSecretReconcilerFactory
GetSecretReconcilers returns all SecretReconcilers that are currently in use.