Setting up cluster federation from the ground up
To set up a Kubernetes cluster federation we need to run the components of the control plane, which are as follows:
etcd federation-apiserver federation-controller-manager
One of the easiest way to do that is to use the all-in-one hyperkube image:
https://github.com/kubernetes/kubernetes/tree/master/cluster/images/hyperkube.
The federation API server and the federation controller manager can be run as pods in an existing Kubernetes cluster, but as discussed earlier it is better from a fault tolerance and high availability point of view to run them in their own cluster.
Initial setup
First, you must have Docker running and get a Kubernetes release that contains the scripts we will use in this guide. ...
Get Mastering Kubernetes now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.