module
Version:
v0.0.0-...-adb0196
Opens a new window with list of versions in this module.
Published: Jul 1, 2020
License: MIT
Opens a new window with license information.
README
¶
engine-resource-allocate-service
engine-resource-allocate-service
is designed to provide high-available distributed task scheduling management service.
Feature
- RESTful/gRPC API for task management.
- Strong consistency for task CRUD and assignment.
- HA for master.
Get Started
Prerequisites
Installation
Clone
Setup
# build the binary
make build
Example
# start master quorum
./engine-resource-allocate-service-master --http_endpoint=:18081 --grpc_endpoint=:18091 --id=localhost:18091
./engine-resource-allocate-service-master --http_endpoint=:18082 --grpc_endpoint=:18092 --id=localhost:18092
./engine-resource-allocate-service-master --http_endpoint=:18083 --grpc_endpoint=:18093 --id=localhost:18093
# join workers
./engine-resource-allocate-service-worker --id=worker-1 --spec=conf/worker_1.json
./engine-resource-allocate-service-worker --id=worker-2 --spec=conf/worker_2.json
./engine-resource-allocate-service-worker --id=worker-3 --spec=conf/worker_3.json
./engine-resource-allocate-service-worker --id=worker-4 --spec=conf/worker_4.json
./engine-resource-allocate-service-worker --id=worker-5 --spec=conf/worker_5.json
Documentation
Api Design
Contributing
Step 1
Step 2
Step 3
FAQ
Support
License
- This project is licensed under the MIT License - see the MIT license for details.
Click to show internal directories.
Click to hide internal directories.