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 GetEtcdBackupConfigCreators(data *resources.TemplateData) []reconciling.NamedEtcdBackupConfigCreatorGetter
- func GetKonnectivityDeploymentCreators(data *resources.TemplateData) []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
- func (r *Reconciler) AddFinalizers(ctx context.Context, cluster *kubermaticv1.Cluster, finalizers ...string) (*reconcile.Result, error)
- func (r *Reconciler) GetKonnectivitySecretCreators(data *resources.TemplateData, userClusterClient ctrlruntimeclient.Client) []reconciling.NamedSecretCreatorGetter
- func (r *Reconciler) GetSecretCreators(data *resources.TemplateData) []reconciling.NamedSecretCreatorGetter
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
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, userClusterMLAEnabled bool, dockerPullConfigJSON []byte, concurrentClusterUpdates int, etcdBackupRestoreController bool, 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 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 GetEtcdBackupConfigCreators ¶ added in v2.17.0
func GetEtcdBackupConfigCreators(data *resources.TemplateData) []reconciling.NamedEtcdBackupConfigCreatorGetter
GetEtcdBackupConfigCreators returns all EtcdBackupConfigCreators that are currently in use
func GetKonnectivityDeploymentCreators ¶ added in v2.18.0
func GetKonnectivityDeploymentCreators(data *resources.TemplateData) []reconciling.NamedDeploymentCreatorGetter
GetKonnectivityDeploymentCreators 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) AddFinalizers ¶ added in v2.17.1
func (r *Reconciler) AddFinalizers(ctx context.Context, cluster *kubermaticv1.Cluster, finalizers ...string) (*reconcile.Result, error)
func (*Reconciler) GetKonnectivitySecretCreators ¶ added in v2.18.0
func (r *Reconciler) GetKonnectivitySecretCreators(data *resources.TemplateData, userClusterClient ctrlruntimeclient.Client) []reconciling.NamedSecretCreatorGetter
GetKonnectivitySecretCreators returns all SecretCreators for konnectivity
func (*Reconciler) GetSecretCreators ¶
func (r *Reconciler) GetSecretCreators(data *resources.TemplateData) []reconciling.NamedSecretCreatorGetter
GetSecretCreators returns all SecretCreators that are currently in use