All Projects → dcos → Dcos E2e

dcos / Dcos E2e

Licence: apache-2.0
Spin up and manage DC/OS clusters in test environments

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Dcos E2e

terraform-dcos
DC/OS Terraform Installation and Upgrading Scripts
Stars: ✭ 64 (+4.92%)
Mutual labels:  dcos
Playa Mesos
Quickly build Mesos sandbox environments using Vagrant. Run apps on top!
Stars: ✭ 437 (+616.39%)
Mutual labels:  dcos
Marathon Client
Java Integration Library for Mesosphere Marathon
Stars: ✭ 15 (-75.41%)
Mutual labels:  dcos
drax
DC/OS Resilience Automated Xenodiagnosis tool
Stars: ✭ 42 (-31.15%)
Mutual labels:  dcos
Predator
A powerful open-source platform for load testing APIs.
Stars: ✭ 356 (+483.61%)
Mutual labels:  dcos
Mesos Dns
DNS-based service discovery for Mesos.
Stars: ✭ 481 (+688.52%)
Mutual labels:  dcos
spark-build
Used to build the mesosphere/spark docker image and the DC/OS Spark package
Stars: ✭ 51 (-16.39%)
Mutual labels:  dcos
Csilvm
A LVM2 CSI plugin
Stars: ✭ 49 (-19.67%)
Mutual labels:  dcos
Marathon
Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
Stars: ✭ 4,035 (+6514.75%)
Mutual labels:  dcos
Linkerdcosdockerfile
Linker Dcos DockerFile&DockerCompose yml file
Stars: ✭ 8 (-86.89%)
Mutual labels:  dcos
net-modules
Apache Mesos modules for network isolation.
Stars: ✭ 56 (-8.2%)
Mutual labels:  dcos
Universe
The Mesosphere Universe package repository.
Stars: ✭ 308 (+404.92%)
Mutual labels:  dcos
Kubernetes Mesos
A Kubernetes Framework for Apache Mesos
Stars: ✭ 640 (+949.18%)
Mutual labels:  dcos
dcos-autoscaler
Autoscaler for DC/OS hosted in a cloud provider
Stars: ✭ 12 (-80.33%)
Mutual labels:  dcos
Shakedown
DC/OS test harness
Stars: ✭ 30 (-50.82%)
Mutual labels:  dcos
mesosaurus
Mesos task load simulator framework for (cluster and Mesos) performance analysis
Stars: ✭ 58 (-4.92%)
Mutual labels:  dcos
Marathon Lb
Marathon-lb is a service discovery & load balancing tool for DC/OS
Stars: ✭ 449 (+636.07%)
Mutual labels:  dcos
Acs Engine
WE HAVE MOVED: Please join us at Azure/aks-engine!
Stars: ✭ 1,049 (+1619.67%)
Mutual labels:  dcos
Ansible Dcos
[DEPRECATED] Please consider using the Ansible Roles for DC/OS maintained by the Mesosphere SRE team
Stars: ✭ 41 (-32.79%)
Mutual labels:  dcos
Mesos Dns Pkg
Packaging utilities for Mesos-DNS
Stars: ✭ 16 (-73.77%)
Mutual labels:  dcos

|Actions build status|

|Build Status|

|codecov|

|Library Documentation Status| : Library

|CLI Documentation Status| : miniDC/OS

|project|

|project| is a tool for spinning up and managing DC/OS clusters in test environments. It includes a Python library and miniDC/OS CLI tools.

See the full documentation on Read the Docs for the library_ and miniDC/OS_.

.. contents:: :local:

Installation

|project| consists of a Python library_ and miniDC/OS_.

See the full miniDC/OS_ documentation for CLI installation options.

To install the library, follow the library installation instructions_.

Python Library

Below is a small example of using |project| as a Python library with a Docker backend. Other backends include AWS and Vagrant. See the library_ documentation for more details on these and other features.

.. code:: python

from pathlib import Path

from dcos_e2e.backends import Docker
from dcos_e2e.cluster import Cluster

oss_installer = Path('/tmp/dcos_generate_config.sh')

cluster_backend = Docker()
with Cluster(cluster_backend=cluster_backend) as cluster:
    cluster.install_dcos_from_path(
        dcos_installer=oss_installer,
        dcos_config={
            **cluster.base_config,
            **{
                'check_time': True,
            },
        },
        ip_detect_path=cluster_backend.ip_detect_path,
    )
    (master, ) = cluster.masters
    result = master.run(args=['echo', '1'])
    print(result.stdout)
    cluster.wait_for_dcos_oss()
    cluster.run_with_test_environment(args=['pytest', '-x', 'test_tls.py'])

miniDC/OS CLI

|project| also provides multiple command line interface tools. These allow you to create, manage and destroy DC/OS clusters on various backends, such as Docker, Vagrant and AWS.

A typical CLI workflow with the minidcos docker CLI may look like this:

.. code-block:: bash

Fix issues shown by minidcos docker doctor

$ minidcos docker doctor $ minidcos docker download-installer $ minidcos docker create ./dcos_generate_config.sh --agents 0 default $ minidcos docker wait $ minidcos docker run --test-env --sync-dir /path/to/dcos/checkout pytest -k test_tls ...

Get onto a node

$ minidcos docker run bash [master-0]# exit $ minidcos docker destroy

Each of these commands and more are described in detail in the full minidcos docker CLI_ documentation. Other CLI tools include minidcos aws and minidcos vagrant.

See the full miniDC/OS_ documentation for information on other CLI tools provided by |project|.

.. |Actions build status| image:: https://github.com/dcos/dcos-e2e/workflows/dcos-e2e-test/badge.svg .. |Build Status| image:: https://travis-ci.org/dcos/dcos-e2e.svg?branch=master :target: https://travis-ci.org/dcos/dcos-e2e .. |codecov| image:: https://codecov.io/gh/dcos/dcos-e2e/branch/master/graph/badge.svg :target: https://codecov.io/gh/dcos/dcos-e2e .. |Library Documentation Status| image:: https://readthedocs.org/projects/dcos-e2e/badge/?version=latest :target: http://dcos-e2e.readthedocs.io/en/latest/?badge=latest :alt: Library Documentation Status .. |CLI Documentation Status| image:: https://readthedocs.org/projects/minidcos/badge/?version=latest :target: http://minidcos.readthedocs.io/en/latest/?badge=latest :alt: CLI Documentation Status .. _Homebrew: https://brew.sh .. _Linuxbrew: https://docs.brew.sh/Homebrew-on-Linux .. _miniDC/OS: https://minidcos.readthedocs.io/en/latest/ .. _minidcos docker CLI: https://minidcos.readthedocs.io/en/latest/dcos-docker-cli.html .. _library: https://dcos-e2e.readthedocs.io/en/latest/ .. _backends: https://dcos-e2e.readthedocs.io/en/latest/backends.html .. |project| replace:: DC/OS E2E .. _library installation instructions: https://dcos-e2e.readthedocs.io/en/latest/installation.html

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].