Kubernetes on SoPine cluster part.1 - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64-LTS / SOPINE Compute Module (https://forum.pine64.org/forumdisplay.php?fid=66) +--- Forum: Clusterboard (https://forum.pine64.org/forumdisplay.php?fid=91) +--- Thread: Kubernetes on SoPine cluster part.1 (/showthread.php?tid=5518) |
Kubernetes on SoPine cluster part.1 - maya.b - 12-31-2017 So this is a quick guide on how I got Kubernetes installed and running on 5 nodes on a prototype SoPine clusterboard. This can also work on rock64's, pine64(+)/LTS or anything else really. I'm assuming you already know how to flash OS SD card images using your favourite host OS, and can configure a router, in particular assigning manual DHCP addresses to hosts. This isn't step by step, and if you need clarification, then perhaps go learn about whatever it is first. This is not a beginner's guide. Background: I recently got the book "Kubernetes Up & Running" (KUAR) by Hightower, Burns & Beda from O'Reilly. It came out in September 2017 so it's fairly current, although with all tech books, there are some things already out of date. I read the intro and chapter 1 - nice and informative. Chapter 2 - "you may want to start expriementing" it suggested. Uhhm, yes. "You should use an online service offering" it advised. Uhmm, if I have to ... "If you're really want to set it up yourself ... appendix A has a guide" it revealed. I skipped the rest of Chapter 2 for now. Chapters 3 through Appendix A, I'll get back to later as well NB* THIS IS SO FAR FROM PRODUCTION READY. The steps that follow are a rough paraphrase of Appendix A in the KUAR book with a few changes (ie that out of date already stuff) Step 1- Get hardware.
RE: Kubernetes on SoPine cluster part.1 - jbk - 12-31-2017 Cool, I've been wanting to try this for a while - thanks for the write up RE: Kubernetes on SoPine cluster part.1 - hexalyn - 04-18-2018 I encountered an error with kubernetes last two versions (v1.10.0 and v1.10.1). I was only able to make it work with v1.9.6. So if anyone has the same issue, you can replace the kubernetes installation of @maya.b with : Code: apt-get -y install kubectl=1.9.6-00 kubelet=1.9.6-00 kubernetes-cni=0.6.0-00 kubeadm=1.9.6-00 I had no issue with everything else RE: Kubernetes on SoPine cluster part.1 - PigLover - 04-18-2018 Yes - Kubeadm currently has a blocking issue with Kubernetes releases above >1.9.8 (including 1.10.x). Note that this is affecting ALL bare metal installs of Kubernetes, not just Pine boards. The issue is with the installer (kubeadm) and not Kubernetes itself. You should be able to install/launch your cluster and then upgrade to 1.10.x using “apt upgrade” on each node in the cluster (suggest upgrading the master node last). |