Documentation ¶
Index ¶
- func DriftedNodes() ([]kubernetes.NodeVersionInfo, error)
- func NextAvailableVersions() (nextPatch *version.Version, nextMinor *version.Version, ...)
- func UpgradePath() ([]*version.Version, error)
- func UpgradePathWithAvailableVersions(currentClusterVersion *version.Version, availableVersions []*version.Version) ([]*version.Version, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DriftedNodes ¶
func DriftedNodes() ([]kubernetes.NodeVersionInfo, error)
DriftedNodes return the list of outdated nodes with regards to the current cluster version. Unschedulable nodes will be ignored. Only nodes that have a lower minor or major version than the current cluster version are considered. If the difference on the node version with regards to the current cluster version is only the patch level version, the node won't be included in the list.
func NextAvailableVersions ¶
func NextAvailableVersions() (nextPatch *version.Version, nextMinor *version.Version, nextMajor *version.Version, err error)
NextAvailableVersions return the next patch version available (if any) for the current minor version, the next minor version (if any) for the current major version, and the next major version (if any)
func UpgradePath ¶
UpgradePath returns the list of versions the cluster needs to go through in order to upgrade to the latest available version
func UpgradePathWithAvailableVersions ¶
func UpgradePathWithAvailableVersions(currentClusterVersion *version.Version, availableVersions []*version.Version) ([]*version.Version, error)
UpgradePathWithAvailableVersions returns the list of versions the cluster need to go through in order to upgrade to the latest available version in the provided list of available versions
Types ¶
This section is empty.