sguyennet / terraform-vsphere-kubespray

Deploy a Kubernetes HA cluster on VMware vSphere
https://blog.inkubate.io/install-and-manage-automatically-a-kubernetes-cluster-on-vmware-vsphere-with-terraform-and-kubespray/
Apache License 2.0
172 stars 88 forks source link

upgrade kubernetes version to v1.15 #18

Closed zcohen331 closed 5 years ago

zcohen331 commented 5 years ago

Hello Simon. How's going, We discussed in the past about some issue with K8S via terraform at vmware.. I'm going now to install from scratch K8S single , (1 master & 1 worker). First question is if I can to install single without haproxy vm ? Second question, What is required to change in the terraform installation in order to support kubernetes 1.15.x version? Your assistance will be very appreciated. Thanks

zcohen331 commented 5 years ago

Hello Simon. I hope u already see my questions? Because I think I accidentally closed the issue. Thanks

zcohen331 commented 5 years ago

Hello Simon, I finished to install the K8S single with below version: k8s_kubespray_version = "v2.10.3" k8s_version = "v1.14.3" I did change them to new version for kubernetes upgrade: k8s_kubespray_version = "v2.10.4" k8s_version = "v1.15.0" and I upgrade failed, My question is , The terraform is support to new below version? Thanks

sguyennet commented 5 years ago

Hi, You don't need the HAProxy VMs as you will have only one master, but for this you will have to modify the Terraform script slightly. Kubespray doesn't support Kubernetes 1.15.0. As this Terraform script depends on Kubespray, you will have to wait for a new Kubespray release. Regards, Simon.

zcohen331 commented 5 years ago

Hello, Thanks for reply and updating. But If I remove HAProxy parameters from terraform.tfvars file the installation failed . How can I install without HAProxy VM? Thanks

zcohen331 commented 5 years ago

Hello Simon, Following your statement: "You don't need the HAProxy VMs as you will have only one master, but for this you will have to modify the Terraform script slightly" Is there a single on/off flag that controls the usage of HAProxy instead of going and changing the installation scripts in many places? Thanks a lot Zion