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 GetConfigMapReconcilers(data *resources.TemplateData) []reconciling.NamedConfigMapReconcilerFactory
- func GetCronJobReconcilers(data *resources.TemplateData) []reconciling.NamedCronJobReconcilerFactory
- func GetDeploymentReconcilers(data *resources.TemplateData, enableAPIserverOIDCAuthentication bool, ...) []reconciling.NamedDeploymentReconcilerFactory
- func GetEtcdBackupConfigReconcilers(data *resources.TemplateData, seed *kubermaticv1.Seed) []kkpreconciling.NamedEtcdBackupConfigReconcilerFactory
- 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-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, 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 ¶ added in v2.22.0
func GetConfigMapReconcilers(data *resources.TemplateData) []reconciling.NamedConfigMapReconcilerFactory
GetConfigMapReconcilers returns all ConfigMapReconcilers that are currently in use.
func GetCronJobReconcilers ¶ added in v2.22.0
func GetCronJobReconcilers(data *resources.TemplateData) []reconciling.NamedCronJobReconcilerFactory
GetCronJobReconcilers returns all CronJobReconcilers that are currently in use.
func GetDeploymentReconcilers ¶ added in v2.22.0
func GetDeploymentReconcilers(data *resources.TemplateData, enableAPIserverOIDCAuthentication bool, versions kubermatic.Versions) []reconciling.NamedDeploymentReconcilerFactory
GetDeploymentReconcilers returns all DeploymentReconcilers that are currently in use.
func GetEtcdBackupConfigReconcilers ¶ added in v2.22.0
func GetEtcdBackupConfigReconcilers(data *resources.TemplateData, seed *kubermaticv1.Seed) []kkpreconciling.NamedEtcdBackupConfigReconcilerFactory
GetEtcdBackupConfigReconcilers returns all EtcdBackupConfigReconcilers that are currently in use.
func GetPodDisruptionBudgetReconcilers ¶ added in v2.22.0
func GetPodDisruptionBudgetReconcilers(data *resources.TemplateData) []reconciling.NamedPodDisruptionBudgetReconcilerFactory
GetPodDisruptionBudgetReconcilers returns all PodDisruptionBudgetReconcilers that are currently in use.
func GetServiceReconcilers ¶ added in v2.22.0
func GetServiceReconcilers(data *resources.TemplateData) []reconciling.NamedServiceReconcilerFactory
GetServiceReconcilers returns all service creators that are currently in use.
func GetStatefulSetReconcilers ¶ added in v2.22.0
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 ¶ added in v2.17.1
func (r *Reconciler) AddFinalizers(ctx context.Context, cluster *kubermaticv1.Cluster, finalizers ...string) (*reconcile.Result, error)
func (*Reconciler) GetSecretReconcilers ¶ added in v2.22.0
func (r *Reconciler) GetSecretReconcilers(ctx context.Context, data *resources.TemplateData) []reconciling.NamedSecretReconcilerFactory
GetSecretReconcilers returns all SecretReconcilers that are currently in use.