Top Banner
@RyanWallner @ClusterHQ FlockerHub and Fli: a Deeper Look
17

FlockerHub and Fli: a Deeper Look

Apr 11, 2017

Download

Software

ClusterHQ
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 2: FlockerHub and Fli: a Deeper Look

We will cover...

● What is Fli● FlockerHub● Key concepts● Architecture● Fli client and FlockerHub interactions

@RyanWallner@ClusterHQ

Page 3: FlockerHub and Fli: a Deeper Look

What is Fli?

Fli, the FlockerHub CLI, is like Git for data. Just like you can use Git to copy, branch, push and pull code, you can use Fli to copy, branch, push and pull your data volumes to a hosted volume repository.

@RyanWallner@ClusterHQ

Page 4: FlockerHub and Fli: a Deeper Look

What is FlockerHub?FlockerHub is a hub for data, like GitHub is a hub for source code and like DockerHub is a hub for container images.

Specifically, FlockerHub lets you store your Docker data volumes and organize them into volumesets and branches that are owned by organizations, teams and individual users.

In the current implementation, FlockerHub is provided as a public SaaS offering, which you can start using here.

@RyanWallner@ClusterHQ

Page 5: FlockerHub and Fli: a Deeper Look

Some concepts

● Log-in● Authentication Tokens● Volumeset● Volume● Snapshot● Clone● Branches● Sharing

@RyanWallner@ClusterHQ

Page 8: FlockerHub and Fli: a Deeper Look

VolumesetThink of a volumeset like a repository on GitHub, except volumesets don’t contain source code, they contain volume snapshots.

Creating a volumeset with Fli is simple.

@RyanWallner@ClusterHQ

Page 9: FlockerHub and Fli: a Deeper Look

VolumeThink of a volume as a directory that you can work with like any other directory, except this volume can be snapshotted and that snapshot can be pushed and pulled to and from FlockerHub.

When you create a volume with Fli, it looks like this.

@RyanWallner@ClusterHQ

Page 10: FlockerHub and Fli: a Deeper Look

Volume

You can move into that directory, create files, or anything you would normally do on POSIX file-systems.

@RyanWallner@ClusterHQ

Page 11: FlockerHub and Fli: a Deeper Look

SnapshotA snapshot is a “picture” of a volume that can’t be mounted itself to a host, but it can be instantiated as a data volume that can be mounted to a host through the clone command.

To create a snapshot from an existing volume, you will use the snapshot command.

@RyanWallner@ClusterHQ

Page 12: FlockerHub and Fli: a Deeper Look

CloneA clone is a copy of a snapshot that is made available as a volume. Cloning a volume is used when you want to instantiate a volume based on a particular snapshot.

To create a clone from a snapshot you may run the following clone command.

@RyanWallner@ClusterHQ

Page 13: FlockerHub and Fli: a Deeper Look

BranchesA branch is a lineage of a particular data volume made up of multiple snapshots over time. Think of a branch like a GitHub branch, but made of snapshots instead of commits.

Branches are created by using the --branch | -b flag during a snapshot command.

@RyanWallner@ClusterHQ

Page 14: FlockerHub and Fli: a Deeper Look

SharingFlockerHub volumesets can be shared among users enabling better testing during CI/CD, development, QA and debugging stages of application development.

@RyanWallner@ClusterHQ

Page 17: FlockerHub and Fli: a Deeper Look

Stay tuned as we post new presentations that dive deeper into some of these components and use cases for Fli and FlockerHub!

Register and join the community on FlockerHub!