Need help with core?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

projecteru2
144 Stars 26 Forks MIT License 1.1K Commits 7 Opened issues

Description

Eru, a simple, stateless, flexible, production-ready orchestrator designed to easily integrate into existing workflows. Can run any virtualization things in long or short time.

Services available

!
?

Need anything else?

Contributors list

# 96,731
Shell
Go
Docker
golang
523 commits
# 282,947
Shell
Docker
golang
Objecti...
127 commits
# 54,813
gitlab
Git
golang
Flask
120 commits
# 497,479
Go
Shell
Docker
contain...
24 commits
# 95,604
C
Go
Linux
Docker
20 commits
# 31,376
Python
flac
Shell
finite-...
9 commits
# 27,391
Java
Shell
dubbo
C
3 commits
# 137,148
Redis
C
Less
api-tes...
2 commits

Eru

Codacy Badge

Eru is a stateless, flexible, production-ready resource scheduler designed to easily integrate into existing systems.

Eru can use multiple engines to run anything for the long or short term.

This project is Eru Core. The Core use for resource allocation and manage resource's lifetime.

Testing

Run

make test

Compile

  • Run
    make build
    if you want binary.
  • Run
    ./make-rpm
    if you want RPM for el7. However we use FPM for packing, so you have to prepare it first.

Developing

Run

make deps
for generating vendor dir.

You can use our footstone image for testing and compiling.

GRPC

Generate golang grpc definitions.

go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
make grpc

Run it

$ eru-core --config /etc/eru/core.yaml.sample

or

$ export ERU_CONFIG_PATH=/path/to/core.yaml
$ eru-core

Dockerized Core manually

Image: projecteru2/core

docker run -d \
  --name eru_core_$HOSTNAME \
  --net host \
  --restart always \
  -v :/etc/eru \
  projecteru2/core \
  /usr/bin/eru-core

Build and Deploy by Eru itself

After we implemented bootstrap in eru, now you can build and deploy eru with cli tool.

  1. Test source code and build image
 --name  http://bit.ly/EruCore

Make sure you can clone code. After the fresh image was named and tagged, it will be auto pushed to the remote registry which was defined in config file.

  1. Deploy core itself
 workloads deploy --pod  [--node ] --entry core --network  --image | --file :/core.yaml [--count ] [--cpu 0.3 | --mem 1024000000] http://bit.ly/EruCore

Now you will find core was started in nodes.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.