Commit Graph

2 Commits (d6e5cc181b6f1a3d0cd00f28c8d7e19e1efc85d0)

Author SHA1 Message Date
Jiri Stransky a314d1b546 Allow installing multiple-node Kubernetes
By setting loadbalancer_apiserver_localhost to false we tell the
kubelets to register with 1st master rather than assuming there's an
API proxy running on each host.

Also Kubespray expects a specific format of inventory because it tries
to enforce that hostname matches the invenotry name of the node. This
previously resulted in incorrect hostnames being set.

And we also open the necessary firewall ports to allow the cluster to
communicate.

Change-Id: I1c0251be58535d59fe0ec157cb9acaba209e8732
2017-11-02 11:31:42 +01:00
Jiri Stransky d77327d6e2 Kubespray installation via config download mechanism
Add external_deploy_tasks for Kubespray installation. This makes
Kubespray installation work with the config download mechanism.

If the undercloud doesn't already contain /usr/share/kubespray
directory, it will be git-cloned. This is to bridge a gap before we
figure out where we get Kubespray RPM from.

Co-Authored-By: Flavio Percoco <flaper87@gmail.com>
Change-Id: I2573261bfd3d63aff1310b80fc454becc7504437
2017-10-19 18:08:01 +02:00