k8sversion

package
v0.0.0-...-741fd3f Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// MinK8SVersion is the minimum k8s version required to run this version of Istio
	// https://istio.io/docs/setup/platform-setup/
	MinK8SVersion               = 28
	UnSupportedK8SVersionLogMsg = "\nThe Kubernetes version %s is not supported by Istio %s. The minimum supported Kubernetes version is 1.%d.\n" +
		"Proceeding with the installation, but you might experience problems. " +
		"See https://istio.io/latest/docs/releases/supported-releases/ for a list of supported versions.\n"
)

Variables

This section is empty.

Functions

func CheckKubernetesVersion

func CheckKubernetesVersion(versionInfo *version.Info) (bool, error)

CheckKubernetesVersion checks if this Istio version is supported in the k8s version

func IsK8VersionSupported

func IsK8VersionSupported(c kube.Client, l clog.Logger) error

IsK8VersionSupported checks minimum supported Kubernetes version for Istio. If the K8s version is not at least the `MinK8SVersion`, it logs a message warning the user that they may experience problems if they proceed with the install.

Types

This section is empty.

Jump to

Keyboard shortcuts

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