Documentation ¶
Overview ¶
Package updatecontroller contains a controller that coordinates the upgrade of clusters. It watches the cluster.Spec.Version and will initiate the controlled update of first the apiserver, then the rest of the control plane and finally nodes. It does so by manipulating the ClusterStatus, letting other controller take care of reconciling the cluster namespace or updating/watching the nodes in the user cluster.
Index ¶
Constants ¶
View Source
const ( ControllerName = "kkp-update-controller" ClusterConditionUpToDate = "UpToDate" ClusterConditionProgressing = "Progressing" ClusterConditionOldNodes = "OldNodes" )
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(mgr manager.Manager, numWorkers int, workerName string, configGetter provider.KubermaticConfigurationGetter, log *zap.SugaredLogger, versions kubermatic.Versions) error
Add creates a new update controller.
Types ¶
type Reconciler ¶
type Reconciler struct { ctrlruntimeclient.Client // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.