update

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: 19 Imported by: 0

Documentation

Overview

Package update contains a controller that auto applies updates to both the cluster version and the machine version based on a configuration file.

TODO: Make this controller wait for successfully convergation after an update was applied. Currently, it may apply an update and then instantly apply another one, which is not supported, only n+1 minor version updates are supported.

Index

Constants

View Source
const (
	ControllerName = "kubermatic_update_controller"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, numWorkers int, workerName string, updateManager *version.Manager,
	userClusterConnectionProvider *client.Provider, log *zap.SugaredLogger) error

Add creates a new update controller

Types

type Reconciler

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

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