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) string
- func ParseKubernetesVersionInfo(versionStr string) (*version.Info, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var EKSAPIVersionMap = map[string]string{
"1.21": "public.ecr.aws/eks-distro/kubernetes/kube-apiserver:v1.21.5-eks-1-21-8",
"1.20": "public.ecr.aws/eks-distro/kubernetes/kube-apiserver:v1.20.11-eks-1-20-102",
}
View Source
var EKSControllerVersionMap = map[string]string{
"1.21": "public.ecr.aws/eks-distro/kubernetes/kube-controller-manager:v1.21.5-eks-1-21-8",
"1.20": "public.ecr.aws/eks-distro/kubernetes/kube-controller-manager:v1.20.11-eks-1-20-10",
}
View Source
var EKSCoreDNSVersionMap = map[string]string{
"1.21": "public.ecr.aws/eks-distro/coredns/coredns:v1.8.4-eks-1-21-8",
"1.20": "public.ecr.aws/eks-distro/coredns/coredns:v1.8.3-eks-1-20-10",
}
View Source
var EKSEtcdVersionMap = map[string]string{
"1.21": "public.ecr.aws/eks-distro/etcd-io/etcd:v3.4.16-eks-1-21-8",
"1.20": "public.ecr.aws/eks-distro/etcd-io/etcd:v3.4.15-eks-1-20-10",
}
View Source
var K0SVersionMap = map[string]string{
"1.23": "k0sproject/k0s:v1.23.3-k0s.0",
"1.22": "k0sproject/k0s:v1.22.6-k0s.0",
}
View Source
var K3SVersionMap = map[string]string{
"1.23": "rancher/k3s:v1.23.3-k3s1",
"1.22": "rancher/k3s:v1.22.6-k3s1",
"1.21": "rancher/k3s:v1.21.9-k3s1",
"1.20": "rancher/k3s:v1.20.15-k3s1",
"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 ¶
func GetServiceCIDR(client kubernetes.Interface, namespace string) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.