All Projects → orcinustools → Orcinus

orcinustools / Orcinus

Licence: mit
Agnostic Orchestration Tools

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Orcinus

terraform-aws-eks-workers
Terraform module to provision an AWS AutoScaling Group, IAM Role, and Security Group for EKS Workers
Stars: ✭ 82 (+382.35%)
Mutual labels:  cluster, workers
Node Cluster Email
📨 send email if node cluster throw exception
Stars: ✭ 60 (+252.94%)
Mutual labels:  workers, cluster
Verwalter
A tool which manages cluster of services
Stars: ✭ 34 (+100%)
Mutual labels:  cluster, orchestration
Picluster
A Simplified Docker Swarm or Kubernetes Alternative to Container Scheduling and Orchestration
Stars: ✭ 390 (+2194.12%)
Mutual labels:  cluster, orchestration
docs
Documentation repo of nebula orchestration system
Stars: ✭ 16 (-5.88%)
Mutual labels:  cluster, orchestration
manager
The API endpoint that manages nebula orchestrator clusters
Stars: ✭ 28 (+64.71%)
Mutual labels:  cluster, orchestration
Amp
** THIS PROJECT IS STOPPED ** An open source CaaS for Docker, batteries included.
Stars: ✭ 74 (+335.29%)
Mutual labels:  cluster, orchestration
kubernetes the easy way
Automating Kubernetes the hard way with Vagrant and scripts
Stars: ✭ 22 (+29.41%)
Mutual labels:  cluster, orchestration
container-orchestration
A Benchmark for Container Orchestration Systems
Stars: ✭ 19 (+11.76%)
Mutual labels:  cluster, orchestration
Node Worker Nodes
A node.js library to run cpu-intensive tasks in a separate processes and not block the event loop.
Stars: ✭ 468 (+2652.94%)
Mutual labels:  workers, cluster
Iodine
iodine - HTTP / WebSockets Server for Ruby with Pub/Sub support
Stars: ✭ 720 (+4135.29%)
Mutual labels:  cluster
Hmq
High performance mqtt broker
Stars: ✭ 722 (+4147.06%)
Mutual labels:  cluster
Crane
Crane - Lift containers with ease
Stars: ✭ 793 (+4564.71%)
Mutual labels:  orchestration
Horde
Horde is a distributed Supervisor and Registry backed by DeltaCrdt
Stars: ✭ 834 (+4805.88%)
Mutual labels:  cluster
Raftlib
The RaftLib C++ library, streaming/dataflow concurrency via C++ iostream-like operators
Stars: ✭ 717 (+4117.65%)
Mutual labels:  machine
Restql Http
Microservice query language
Stars: ✭ 793 (+4564.71%)
Mutual labels:  orchestration
Vm
💻☁📦 The (official) Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4).
Stars: ✭ 716 (+4111.76%)
Mutual labels:  machine
Awesome Machine Learning
🎰 A curated list of machine learning resources, preferably CoreML
Stars: ✭ 716 (+4111.76%)
Mutual labels:  machine
Flubucore
A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code.
Stars: ✭ 695 (+3988.24%)
Mutual labels:  orchestration
Cv4pve Api Java
Proxmox VE Client API JAVA
Stars: ✭ 17 (+0%)
Mutual labels:  cluster

Orcinus

Build Status

Container orchestration management tools for docker swarm mode.

Quick Start

Requirements

  • Linux 64 bit
  • Docker 1.12+
  • Nodejs (optional)

Installation

Use NPM

npm install orcinus -g

Standalone binary

curl -L http://dl.aksaramaya.id/orcinus/stable/orcinus-linux-x86_64.bin -o /usr/bin/orcinus
chmod +x /usr/bin/orcinus

Cluster Setup

Prerequisites

  • One or more linux 64 bit machines. Example :
    • 1 manager with ip address : 192.168.7.11.
    • 1 worker with ip address : 192.168.7.12.
  • Full network connectivity between all machines in the cluster (public or private network is fine).
  • Install orcinus to each machines.

Setup manager

  • SSH into the machine and become root if you are not already (for example, run sudo su -).
  • Initializing your machine as manager.
[[email protected] ~]$ orcinus cluster init [IP ADDRESS MACHINE]
[[email protected] ~]$ orcinus cluster init 192.168.7.11
Add a worker to this manager.

  Token : eyJhZGRyIjoiMTkyLjE2OC43LjExOjIzNzciLCJ0b2tlbiI6IlNXTVRLTi0xLTVqbmZ3b3ltbW1haW5nb3poNnh2Y3ZreDA0N3NlOTJrYmF2dXlscTlkbDF5b3czcWliLTUzM2dwbjN4b2lxeWJkOHN2NXl2bzg2anFcbiJ9

  or run the following command:
           orcinus cluster join eyJhZGRyIjoiMTkyLjE2OC43LjExOjIzNzciLCJ0b2tlbiI6IlNXTVRLTi0xLTVqbmZ3b3ltbW1haW5nb3poNnh2Y3ZreDA0N3NlOTJrYmF2dXlscTlkbDF5b3czcWliLTUzM2dwbjN4b2lxeWJkOHN2NXl2bzg2anFcbiJ9
# Get manager token
[[email protected] ~]$ orcinus cluster token

Setup Worker

If you want to add any new machines as worker to your cluster, for each machine:

  • SSH into the machine and become root if you are not already (for example, run sudo su -).
  • Initializing your machine as a worker.
[[email protected] ~]$ orcinus cluster join [TOKEN]
[[email protected] ~]$ orcinus cluster join eyJhZGRyIjoiMTkyLjE2OC43LjExOjIzNzciLCJ0b2tlbiI6IlNXTVRLTi0xLTVqbmZ3b3ltbW1haW5nb3poNnh2Y3ZreDA0N3NlOTJrYmF2dXlscTlkbDF5b3czcWliLTUzM2dwbjN4b2lxeWJkOHN2NXl2bzg2anFcbiJ9
This node joined a cluster as a worker.

Get all nodes information

Get information all nodes cluster.

  • SSH into the manager machine and become root if you are not already (for example, run sudo su -).
[[email protected] ~]$ orcinus cluster ls
ID                           HOSTNAME  STATUS  AVAILABILITY  MANAGER STATUS
6hbhi274x0gslf1bfuu1ei91r *  ak1       Ready   Active        Leader
ecyy1uswuciolsfve4vn38h8m    ak2       Ready   Active
# Inspect node
[[email protected] ~]$ orcinus cluster inspect ak1
ID:			6hbhi274x0gslf1bfuu1ei91r
Hostname:		ak1
Joined at:		2017-01-08 09:11:56.313485437 +0000 utc
Status:
 State:			Ready
 Availability:		Active
Manager Status:
 Address:		192.168.7.11:2377
 Raft Status:		Reachable
 Leader:		Yes
Platform:
 Operating System:	linux
 Architecture:		x86_64
Resources:
 CPUs:			1
 Memory:		489 MiB
Plugins:
  Network:		bridge, host, null, overlay
  Volume:		local
Engine Version:		1.12.3

Deploy Services

Deploy your first service.

# orcinus compose
[[email protected] ~]$ mkdir test/
[[email protected] test]$ ls
orcinus.yml
[[email protected] test]$ cat orcinus.yml
stack: "mystack"
services:
  web1:
    image: "aksaramaya/docker-http-server:v1"
    ports:
    - "80:80"
    replicas: 4
    cpu: "2"
    memory: "512mb"
  web2:
    image: "nginx"
    cpu: "2"
    memory: "512mb"
# create service
[[email protected] test]$ orcinus create
Service web2 created
2cct8xzckyfwkmhlfprxy8tj3

Service web1 created
50a7ftc5f1jjvsz09h1bwt487
# list Services
[[email protected] test]$ orcinus ls
2cct8xzckyfw  web2  0/1       nginx

50a7ftc5f1jj  web1  3/3       aksaramaya/docker-http-server
# remove service
[email protected] test]$ orcinus rm

Test

Orcinus CLI

$ npm run test

Dashboard APIs

$ npm run dashboard-test

Documentation

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].