Installing Flocker

A series of operations are necessary to get a running Flocker cluster:

  1. Install the flocker-ca utility to generate certificates.
  2. Generate the authority certificate.
  3. Generate the control node certificate.
  4. Generate the node certificates, one per node.
  5. Generate the flocker plugin certificate.
  6. Generate the client certificate.
  7. Install some software from packages.
  8. Distribute certificates to the Flocker cluster.
  9. Configure the installation, adding the main configuration file, agent.yml.
  10. Configure the packet filter on hosts.
  11. 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 ...

Get Native Docker Clustering with Swarm 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.