Can u share me an installation document specifically version 1.15 for kubeadmn

10/22/2019

can anyone share me clear step installation specific to 1.15 for kubernettes admn? I am new for Kubernetes and i didn't able to find for installation steps version specific for kubeadm if anyone can you share some link

-- dan
kubernetes

2 Answers

10/22/2019

Follow the link to install k8s cluster using kubeadm

https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/

you just need to include the kubernetes version parameter to install specific version as shown below.

kubeadm init --kubernetes-version=v1.15.0
-- P Ekambaram
Source: StackOverflow

10/22/2019

The correct way to install Kubernetes cluster in version other then current is to install kubeadm, kubectl and kubelet in the version you want. This is because kubeadm will download the newest version of kubelet and kubectl as additional packages.

Which will lead to an error while doing kubeadm init --kubernetes-version=v1.15.0

[ERROR KubeletVersion]: the kubelet version is higher than the control plane version. This is not a supported version skew and may lead to a malfunctional cluster. Kubelet version: "1.16.2" Control plane version: "1.15.0"`

Correct way of installing not latest version of Kubernetes cluster is to install all packages with the same version which can be done for example using:

apt-get install kubeadm=1.15.0-00 kubelet=1.15.0-00 kubectl=1.15.0-00

-- Crou
Source: StackOverflow