简体   繁体   中英

HA Master Node for K8s Cluster in Raspberry Pi

I somehow managed to initialize a master node using the kubeadm tool on a Raspberry Pi 3 Model B+. I now want to have HA for the master node. Upon successful set up of the master node, I can see towards the end of the console that there was a join command from the kubeadm. The information next to it states that I should run this join command from all the worker nodes so that they join my master node.

This is fine, but how can I set up another master node and make this master node aware of the one that I have already set up? Any ideas?

I suggest you follow (and adapt) the Creating HA clusters with kubeadm guide:

This guide shows you how to install and set up a highly available Kubernetes cluster using kubeadm.

This document shows you how to perform setup tasks that kubeadm doesn't perform: provision hardware; configure multiple systems; and load balancing.

Note: This guide is only one potential solution, and there are many ways to configure a highly available cluster. If a better solution works for you, please use it. If you find a better solution that can be adopted by the community, feel free to contribute it back.

I came across this documentation from the official Kubernetes documentation pages:

https://kubernetes.io/docs/setup/independent/high-availability/#installing-prerequisites-on-masters

Looks like it is a bit of work with the kuberadm to set up HA master / etcd.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM