flockerhub and fli: a deeper look

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

Upload: clusterhq

Post on 11-Apr-2017

228 views

Category:

Software


3 download

TRANSCRIPT

We will cover...

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

@RyanWallner@ClusterHQ

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

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

Some concepts

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

@RyanWallner@ClusterHQ

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

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

Volume

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

@RyanWallner@ClusterHQ

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

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

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

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

@RyanWallner@ClusterHQ

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!