Code Monkey home page Code Monkey logo

picluster's Introduction

PiCluster

Pic

PiCluster is a simple way to manage Docker containers on multiple hosts. I created this because I found Docker Swarm not that good and Kubernetes was too difficult to install currently on ARM. PiCluster will only build and run images from Dockerfile's on the host specified in the config file. This software will work on regular x86 hardware also and is not tied to ARM.

Build Status License: GPL v3

Pic

Support us on Patreon

Video Demo

Community Chat

Slack

Features

  • Move containers to different hosts in the cluster
  • Run commands in parallel across Nodes
  • Heartbeat for services
  • Easily build and orchestrate Docker images across nodes
  • Web interface
  • Monitor host metrics (Disk, CPU, Memory)
  • HTTP interface
  • Virtual IP Manager
  • Rsyslog Analytics
  • Built-in web terminal to easily run commands on nodes
  • Integrate the Kibana dashboard into PiCluster
  • Integrates with Elasticsearch to store the PiCluster logs and host monitoring metrics .
  • Automatic container failover to different nodes
  • Pull container images from a registry
  • Upload Dockerfile archives to the entire cluster
  • Functions-as-a-Service (FaaS)

Public Demo Server

Click here for more informaion.

Prerequisites

  • Docker
  • Node.js
  • OpenSSL
  • pq
  • git
  • curl

Ubuntu

apt-get install openssl git node docker pq curl

Arch Linux

pacman -S openssl git node docker pq curl

If you are using Docker 1.12.x and earlier, please use PiCluster v1.0

Cloning this Repository

git clone https://github.com/picluster/picluster.git picluster

To clone the developer branch (not recommended unless you know what you're doing):

git clone -b dev https://github.com/picluster/picluster.git picluster

Config file reference

See Wiki

Try PiCluster in Docker

We included a compose file to evaluate PiCluster easily on your laptop. Simply Install Docker on your laptop and do the following:

cd picluster
docker-compose up -d

Finally, in your web browser go to http://127.0.0.1:3003

Installation

See Wiki

Upgrading

See Wiki

Functions-as-a-Service (FAAS)

See Wiki
Video Demo

Configuring and using the command-line client "pictl"

See Wiki

SSL/TLS

See Wiki

Using pm2 to init PiCluster on systemd

See Wiki

Automatic Container failover to other hosts

See Wiki

Authors and Contributions

Images

This work, "Raspy Whale", is a derivative of "raspberry" by Chanut is Industries from the Noun Project used under CC BY, "Sperm Whale" by Oksana Latysheva from the Noun Project used under CC BY, and "Sperm Whale" by Oksana Latysheva from the Noun Project used under CC BY. "Raspy Whale" is licensed under CC BY by Jordan Sinn.

picluster's People

Contributors

tokinring avatar aidanharris avatar

Watchers

James Cloos avatar Lars avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.