cluster

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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

func UpgradePath() ([]*version.Version, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL