Hyperledger and Red Hat Developers

Hyperledger is one of the most exciting and important project taking place in the Linux development community. Today I couldn’t let go and do not re-share a Blog post from the Red Hat Developers Blog, that I also included in my list of Blogs worth to follow, which I wish to re-share from now and then.

Today’s post is about how to work with Hyperledger on Kubernetes. Kubernetes is a platform spun off of Google that do an important task for software developers – the orchestration and management of containers. Containers are an important instance in modern software development, functioning as a server virtualization method where it is useful for securely allocating finite hardware resources amongst a large number of mutually-distrusting users:

Getting started with Hyperledger on Kubernetes

 

 

Why?

Recently, I have been following the Hyperledger project, and Fabric in particular, with fair bit of interest. The current deployment process1 for Fabric Starter Kit uses Docker Swarm.

Kubernetes is a leading platform for automating deployment, scaling, and operations of containerised applications.

Using Kubernetes instead of Docker Swarm would allow Hyperledger Fabric to leverage features like:

  1. Automatic binpacking
  2. Horizontal scaling
  3. Automated rollouts and rollbacks
  4. Storage orchestration
  5. Self-healing
  6. Service discovery and load balancing
  7. Secret and configuration management
  8. Batch execution

So this article looks at a simple way to deploy Fabric Starter Kit on a Kubernetes platform. This would be the first step in getting a production-grade Fabric deployment on Kubernetes.

With developer as the primary audience, we will use OpenShift as the underlying platform; as Kubernetes comes bundled in with OpenShift.

What?

Fabric application is composed of functional components distributed as linux containers using the Docker container packaging format.

Kubernetes is an open-source platform for automating deployment, scaling, and operations of application containers across clusters of hosts, providing container-centric infrastructure.

OpenShift Container Platform – OCP is based on top of Linux containers and the Kubernetes container cluster manager. OCP adds developer and operational management centric tools to enable rapid application development, easy deployment and scaling, and long-term lifecycle maintenance for small and large teams and applications.

(…)

How?

Environment

I am using macOS Sierra for development, with following configuration:

(…)

I further recommend all readers interested and with a development background to check the full post and the code snippets available, where the steps to deploy the fabric-starter-kit are disclosed

Featured Image: What are Linux containers?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s