February 2018
Beginner
290 pages
7h 28m
English
We will initialize the federation with the DNS configuration. We will need to install the kubefed tool in order to manage the federation of the cluster. It is installed with the same snap plugin we used earlier in the chapter:
sudo snap install kubefed --classic
Once the install is complete, we can use it to configure the federation using the kubefed init command. We will pass a few parameters:
kubefed init federation --host-cluster-context=fed-cluster --dns-provider="coredns" --dns-zone-name="federation-test.com." --dns-provider-config=dns-config.conf
Once the cluster is ready, we can then start to add the clusters to the federation:
kubectl config use-context federationkubefed join openstack --host-cluster-context=fed-cluster ...
Read now
Unlock full access