Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MinK8sVersion defines the max K8s version which has tested on ack // Currently the min k8s version of ack is 1.28.1-aliyun.1 MinK8sVersion = "1.28.9" // MaxK8sVersion defines the max K8s version which has tested on ack // Currently the max k8s version of ack is 1.31.1-aliyun.1 MaxK8sVersion = "1.31.1" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultProvider ¶
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 making decision. The version is cached to help reduce the amount of calls made to the API Server
func NewDefaultProvider ¶
func NewDefaultProvider(kubernetesInterface kubernetes.Interface, cache *cache.Cache) *DefaultProvider
Click to show internal directories.
Click to hide internal directories.