Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Karpenter's supported version of Kubernetes // If a user runs a karpenter image on a k8s version outside the min and max, // One error message will be fired to notify MinK8sVersion = "1.25" MaxK8sVersion = "1.31" )
Variables ¶
This section is empty.
Functions ¶
func SupportedK8sVersions ¶ added in v1.0.0
func SupportedK8sVersions() []string
SupportedK8sVersions returns a slice of version strings in format "major.minor" for all versions of k8s supported by this version of Karpenter. Note: Assumes k8s only has a single major version (1.x)
Types ¶
type DefaultProvider ¶ added in v0.36.0
type DefaultProvider struct {
// contains filtered or unexported fields
}
DefaultProvider get the APIServer version. This will be initialized at start up and allows karpenter to have an understanding of the cluster version for decision making. The version is cached to help reduce the amount of calls made to the API Server
func NewDefaultProvider ¶ added in v0.36.0
func NewDefaultProvider(kubernetesInterface kubernetes.Interface, cache *cache.Cache) *DefaultProvider
Click to show internal directories.
Click to hide internal directories.