All Projects → mesosphere → chronos-utils

mesosphere / chronos-utils

Licence: Apache-2.0 license
Command line utilities for interacting with Airbnb Chronos

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to chronos-utils

cd-demo
A continuous delivery demo using Jenkins on DC/OS.
Stars: ✭ 36 (+16.13%)
Mutual labels:  dcos, dcos-orchestration-guild
docker-mesos-marathon-screencast
The scripts used in the Docker Clustering on Mesos with Marathon screencast.
Stars: ✭ 51 (+64.52%)
Mutual labels:  dcos, dcos-orchestration-guild
mesosaurus
Mesos task load simulator framework for (cluster and Mesos) performance analysis
Stars: ✭ 58 (+87.1%)
Mutual labels:  dcos, dcos-orchestration-guild
scala-sbt-mesos-framework.g8
No description or website provided.
Stars: ✭ 23 (-25.81%)
Mutual labels:  dcos, dcos-orchestration-guild
mesos-utils
Utilities for building distributed systems on top of mesos
Stars: ✭ 24 (-22.58%)
Mutual labels:  dcos, dcos-orchestration-guild
Marathon
Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
Stars: ✭ 4,035 (+12916.13%)
Mutual labels:  dcos, dcos-orchestration-guild
marathon-example-plugins
Example Plugins for Marathon Plugin Interface
Stars: ✭ 22 (-29.03%)
Mutual labels:  dcos, dcos-orchestration-guild
Dcos
DC/OS - The Datacenter Operating System
Stars: ✭ 2,316 (+7370.97%)
Mutual labels:  dcos
kubernetes-security-benchmark
A simple way to evaluate the security of your Kubernetes deployment against sets of best practices defined by various community sources
Stars: ✭ 27 (-12.9%)
Mutual labels:  dcos
Dcos Commons
DC/OS SDK is a collection of tools, libraries, and documentation for easy integration of technologies such as Kafka, Cassandra, HDFS, Spark, and TensorFlow with DC/OS.
Stars: ✭ 162 (+422.58%)
Mutual labels:  dcos
Dcos Kubernetes Quickstart
Quickstart guide for Kubernetes on DC/OS
Stars: ✭ 161 (+419.35%)
Mutual labels:  dcos
Examples
DC/OS examples
Stars: ✭ 139 (+348.39%)
Mutual labels:  dcos
Chaos
A lightweight framework for writing REST services in Scala.
Stars: ✭ 248 (+700%)
Mutual labels:  dcos
Lashup
A distributed CRDT store with multicast and failure detector capabilities
Stars: ✭ 211 (+580.65%)
Mutual labels:  dcos
Mesos Docker
Project has been superseded by native docker support in Mesos
Stars: ✭ 176 (+467.74%)
Mutual labels:  dcos
dklb
Expose Kubernetes services and ingresses through EdgeLB.
Stars: ✭ 13 (-58.06%)
Mutual labels:  dcos
marathon-slack
Integration for Marathon's Event Bus with Slack
Stars: ✭ 42 (+35.48%)
Mutual labels:  dcos
Dcos Ui
The UI for The Datacenter Operating System
Stars: ✭ 247 (+696.77%)
Mutual labels:  dcos
dcos-mesos-modules
Mesos Modules used in DC/OS
Stars: ✭ 16 (-48.39%)
Mutual labels:  dcos
Rendler
A rendering web crawler for Apache Mesos.
Stars: ✭ 245 (+690.32%)
Mutual labels:  dcos

chronos-utils

Command line utilities for interacting with Airbnb Chronos. Check out the full reference below for all available commands.

First, a demonstration

This demonstrates creating jobs, deleting a single job, deleting all the jobs, and listing jobs from the command line.

$ ./chronos.py jobs --create 3
Created 3 job(s) on local Chronos

$ ./chronos.py jobs --list
+------------------+--------------+------------------------------------+
|       Name       |    Owner     |              Schedule              |
+==================+==============+====================================+
| JOB1386714810695 | [email protected] | R/2013-12-10T22:33:30.695273/PT24H |
+------------------+--------------+------------------------------------+
| JOB1386714810719 | [email protected] | R/2013-12-10T22:33:30.719465/PT24H |
+------------------+--------------+------------------------------------+
| JOB1386714810737 | [email protected] | R/2013-12-10T22:33:30.737307/PT24H |
+------------------+--------------+------------------------------------+

Showing all 3 job(s)

$ ./chronos.py jobs --delete JOB1386714810719
Deleted job named 'JOB1386714810719'.

$ ./chronos.py jobs --list
+------------------+--------------+------------------------------------+
|       Name       |    Owner     |              Schedule              |
+==================+==============+====================================+
| JOB1386714810695 | [email protected] | R/2013-12-10T22:33:30.695273/PT24H |
+------------------+--------------+------------------------------------+
| JOB1386714810737 | [email protected] | R/2013-12-10T22:33:30.737307/PT24H |
+------------------+--------------+------------------------------------+

Showing all 2 job(s)

$ ./chronos.py jobs --deleteall
Are you sure you want to delete ALL jobs? [yes/No] yes
Deleted ALL jobs. The slate is all clean.

$ ./chronos.py jobs --list
+------+-------+----------+
| Name | Owner | Schedule |
+======+=======+==========+
+------+-------+----------+

No jobs

Full Reference

chronos

Forward commands to other files in the directory. New commands should be added to the command description in this file.

./chronos.py -h
usage: chronos [-h] <command>

Supported chronos commands are:
  jobs      Create, destroy, and list jobs
  version   Print the chronos utils version

positional arguments:
  <command>   this is it, the command to execute

optional arguments:
  -h, --help  show this help message and exit

chronos-jobs

Create, destroy, and list jobs

./chronos.py jobs -h
usage: chronos-jobs [-h] [--hostname <host:port>] [-v]
                    (--create [<n>] | --createforest [<n>] | --delete <jobname> | --deleteall | --list | --run <jobname> | --runall)

optional arguments:
  -h, --help            show this help message and exit
  --hostname <host:port>
                        hostname and port of the Chronos instance (default:
                        localhost:8080)
  -v                    print verbose output
  --create [<n>]        create <n> sleep jobs (default: 1)
  --createforest [<n>]  create <n> sleep jobs, with random dependencies
                        (default: 1)
  --delete <jobname>    delete job with name <jobname>
  --deleteall           delete all jobs (this is serious business)
  --list                list all jobs
  --run <jobname>       run job with name <jobname>
  --runall              run all jobs (could be a lot of work)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].