Code Monkey home page Code Monkey logo

n0proto's Introduction

n0stack

Build Status CircleCI Go Report Card

The n0stack is a simple cloud provider using gRPC.

Description

The n0stack is...

  • a cloud provider.
    • You can use some features: booting VMs, managing networks and so on (see also n0proto.)
  • simple.
    • There are shortcode and fewer options.
  • using gRPC.
    • A unified interface increase reusability.
  • able to be used as library and framework.
    • You can concentrate to develop your logic by sharing libraries and frameworks for middleware, test, and deployment.

Motivation

Cloud providers have various forms depending on users. This problem has been solved with many options and add-ons (e.g. OpenStack configuration file is very long.) It is difficult to adapt to the application with options, therefore it is necessary to read or rewrite long abstracted code. I think it is better to code it yourself from the beginning.

There are some problems to develop cloud providers from scratch: no libraries, software quality, man-hours, and deployment. The n0stack wants to solve these problems.

Getting started

Prerequisites

  • Docker
  • docker-compose
  • Ubuntu 18.04 LTS

Deploy all in one

  1. You can start controllers on docker and install agent as follows:
wget https://raw.githubusercontent.com/n0stack/n0stack/master/deploy/docker-compose.yml
docker-compose up -d
docker run -it --rm -v $PWD:/dst n0stack/n0stack cp /usr/local/bin/n0core /dst
./n0core install agent -a "--node-api-endpoint=localhost:20180 --location=////1"
  1. Download n0cli from Github releases.
  2. Try use cases.

Documentations

Gitter Documentation Status GoDoc

User documentations and specifications is readthedocs.

Golang library documentations is GoDoc.

Components

The final goal of n0stack is to represent the state of all clusters with n0proto. Implementations such as n0core manipulates the cluster according to the information specified by n0proto. The implementation of n0proto is left to each developer. This repository is just a reference implementation. However, please share actively usable libraries such as n0core/pkg/driver.

Protobuf definitions for all of n0stack services.

CLI for n0stack API.

n0ui

Web UI for n0stack API.

BFF(Backends for Frontend) of n0stack API. This provide features: API gateway, authentication, authorization and so on.

The example for implementations about n0stack API.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

How to develop

  1. Start containers
make build-builder # once
make up
  1. Start a Agent
  2. Develop features and restart containers or a agent

License

License

FOSSA Status

n0proto's People

Contributors

h-otter avatar kyontan avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

n0proto's Issues

metadataを削除する

  • 依存が強固になり変更しにくいわりに、あることに対するメリットが小さい

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.