Skip to content

kemeter/ring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ring

A simple container orchestrator with declarative service deployment using containers

Because K8S is bloated and docker swarm is dead.

Features

Ring let you specify "deployments" with service requirements

Ring will compute the diff between what you need and what is already deployed (a la terraform). Then it will try to close the gap and retry upon failures

  • http API
  • container restarting
  • container replication
  • docker engine backend

No load balancing, it is not the goal

Installation

requirements

  • rust (to build)
  • openssl-sys v0.9.90 (sudo apt install librust-openssl-sys-dev)

cargo build

Usage

  1. Init the setup

cargo run init

or

ring init

  1. Start deamon

cargo run server start

or

ring server start

  1. Login

ring login --username admin --password changeme

or

cargo run login --username admin --password changeme

  1. Launch deployment (using yaml)

cargo run apply -f examples/nginx.yaml

or

ring apply -f examples/nginx.yaml

  1. Launch deployment Using http endpoint

Get your token with ring config user-token

http POST localhost:3030/deployments bearer -A bearer -a <your_token> < examples/nginx.json

  1. Display deployments

cargo run deployment list

or

ring deployment:list

  1. Inspect deployment

cargo run deployment inspect <deployment_id>

or

ring deployment inspect <deployment_id>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages