Documentation ¶
Index ¶
- Variables
- func GetDefaultReleaseValues(chartOptions *helm.ChartOptions, log log.Logger) (string, error)
- func GetKubernetesMinorVersion(serverVersion *version.Info) (int, error)
- func GetKubernetesVersion(serverVersion *version.Info) string
- func GetServiceCIDR(client kubernetes.Interface, namespace string, ipv6 bool) (string, error)
- func ParseKubernetesVersionInfo(versionStr string) (*version.Info, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var K0SVersionMap = map[string]string{
"1.22": "k0sproject/k0s:v1.22.4-k0s.0",
}
View Source
var K3SVersionMap = map[string]string{
"1.23": "rancher/k3s:v1.23.1-k3s1",
"1.22": "rancher/k3s:v1.22.5-k3s1",
"1.21": "rancher/k3s:v1.21.4-k3s1",
"1.20": "rancher/k3s:v1.20.11-k3s2",
"1.19": "rancher/k3s:v1.19.13-k3s1",
"1.18": "rancher/k3s:v1.18.20-k3s1",
"1.17": "rancher/k3s:v1.17.17-k3s1",
"1.16": "rancher/k3s:v1.16.15-k3s1",
}
View Source
var K8SAPIVersionMap = map[string]string{
"1.23": "k8s.gcr.io/kube-apiserver:v1.23.1",
"1.22": "k8s.gcr.io/kube-apiserver:v1.22.4",
"1.21": "k8s.gcr.io/kube-apiserver:v1.21.5",
"1.20": "k8s.gcr.io/kube-apiserver:v1.20.12",
}
View Source
var K8SControllerVersionMap = map[string]string{
"1.23": "k8s.gcr.io/kube-controller-manager:v1.23.1",
"1.22": "k8s.gcr.io/kube-controller-manager:v1.22.4",
"1.21": "k8s.gcr.io/kube-controller-manager:v1.21.5",
"1.20": "k8s.gcr.io/kube-controller-manager:v1.20.12",
}
View Source
var K8SEtcdVersionMap = map[string]string{
"1.23": "k8s.gcr.io/etcd:3.5.1-0",
"1.22": "k8s.gcr.io/etcd:3.5.1-0",
"1.21": "k8s.gcr.io/etcd:3.4.13-0",
"1.20": "k8s.gcr.io/etcd:3.4.13-0",
}
Functions ¶
func GetDefaultReleaseValues ¶
func GetKubernetesVersion ¶
func GetServiceCIDR ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.