This repo contains scripts for working with and getting infomration from your DCOS EE Cluster.
The mesos folder contains Python scripts for interacting with Apache Mesos. To get more details look at the README in mesos folder.
The marathon folder contains a sample script that leverages the modules/marathon.py python module to interact with Marathon on DCOS. To get more details look at the README in marathon folder.
The mesos folder contains Python scripts for interacting with Apache Zookeeper through Python. To get more details look at the README in zookeeper folder.
The modules folder contains a "dcos" Python module classes for DCOS ACS, Marathon, and Mesos that can be imported and called from other scripts
To use this module in your scripts from modules import dcos
These scripts have only been tested with python3.5 as of now, requests and json Standard Python modules and a mesos Python module which is included \
- git clone https://github.com/tkrausjr/dcos-python.git
- cd dcos-python/marathon
- python3 marathon_sample.py
- cd dcos-python/mesos
- python3 mesos_resources.py