A series of operations are necessary to get a running Flocker cluster:
Install the
flocker-ca
utility to generate certificates.Generate the authority certificate.
Generate the control node certificate.
Generate the node certificates, one per node.
Generate the flocker plugin certificate.
Generate the client certificate.
Install some software from packages.
Distribute certificates to the Flocker cluster.
Configure the installation, adding the main configuration file,
agent.yml
.Configure the packet filter on hosts.
Start and restart system services.
You can execute them manually on a small cluster, but they are repetitive and tedious, so we'll illustrate the procedure using some self-explanatory Ansible playbooks published to https://github.com/fsoppelsa/ansible-flocker.
These plays are trivial and probably not production ready. There are also the official ClusterHQ playbooks for Flocker roles (refer to https://github.com/ClusterHQ/ansible-role-flocker), but for the linearity of the...