A ECS scheduler that places daemons on every node in ECS cluster
glide install
go build
daemon-ecs-scheduler --cluster weave-ecs-demo-cluster --tasks cadvisor:2
- Support the automatic registeration of tasks.
daemon-ecs-scheduler --help
A ECS scheduler that places daemons on every node in ECS cluster
Either through API or UI
There is no tests in the scheduler atm. We need to at least have simple coverage to test correctness
GET /task-definitions/:task-definitionARN
* Query the registered task definitions in the given cluster.
:task-definitionARN can be the name of task definition or the ARN of task definition
response:
{
ARN: string
ShortString: string
Cpu: int
Memory: int
TCPPorts: int
UDPPorts: int
}
==========
POST /tasks/start
* start to run the given task on each host.
After the registration of given task complete, the scheduler of daemon-ecs-scheduler
will check the status of each container instance in this cluster every 5 minutes
(depends on the configuration)
{
cluster: string
task-definition: string
}
the field of task-definition can be the name of task definition or the ARN.
Response
{
statusUrl: string
}
======
GET /tasks
List the status of all the tasks in the cluster.
Response
{
running: []string
failures: []string
}
======
GET /tasks/:taskARN/status
List the status of given task. Ex: Running on which server.
Failed to start the task on which server.
Response
{
running: []string
failures: []string
}
Refer to issue #5 .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.