Git Product home page Git Product logo

dcos-net's Introduction

CircleCI Coverage Jira License Erlang Versions

dcos-net

DC/OS Net (or dcos-net) is a networking layer of The Datacenter Operating System (or DC/OS).

Features

dcos-net is responsible for the following:

For more information please see DC/OS documentation.

Dependencies

  • Erlang/OTP 22.x
  • C compiler
  • GNU make
  • libsodium 1.0.16+

To run common tests you can run make test on any Linux-based system with the following list of additional dependencies:

  • dig (dnsutils or bind-utils)
  • iproute2
  • ipvsadm

To run dcos-net, Exhibitor, Apache ZooKeeper, Apache Mesos, and Mesos-DNS are required too.

Development

You can build, check, and test dcos-net in a development image using make docker-compile, make docker-check, and make docker-test respectively. All makefile targets with docker- prefix build development image with all dependencies and run rebar3 in that image on the host directory.

To check your dcos-net build on DC/OS you can use miniDC/OS. In order to do so please repeat the following steps:

  1. Download a DC/OS build:

    curl -O https://downloads.dcos.io/dcos/testing/master/dcos_generate_config.sh
  2. Create a DC/OS cluster with 3 agent nodes (the minimum for development would be 1 node):

    make minidcos-create MINIDCOS_AGENTS=3
  3. Build and run dcos-net off you local repository on a particular node, in this case it is master_0:

    make minidcos-dev MINIDCOS_NODE=master_0
  4. Open dcos-shell on a node (agent_0, agent_1, ... agent_n):

    make minidcos-shell MINIDCOS_NODE=agent_1
  5. Destroy the cluster:

    make minidcos-destroy

Alternatively, you may build and run all the components yourself. Please refer to the instructions on how to build, configure, and run dcos-net locally.

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.