Skip to main content

Apache Mesos CLI

Project description

Mesos CLI

Prerequisites

Make sure you have python 3.6 or newer installed on your system before you begin.

How to install

pip install avmesos-cli

Setting up your configuration

In order to use this tool, you will need to create a configuration file in your home directory under ~/.mesos/config.toml. A template for this config can be seen below:

# The `plugins` is an array listing the absolute paths of the
# plugins you want to add to the CLI.
plugins = [
  "</absolute/path/to/plugin-1/directory>",
  "</absolute/path/to/plugin-2/directory>"
]

# The `master` is a field that has to be composed of an
# `address` or `zookeeper` field, but not both. For example:
[master]
  address = "10.10.0.30:5050"
  principal = "username"
  secret = "password"

[agent]
  ssl = true
  ssl_verify = false
  principal = "username"
  secret = "password"
  timeout = 5

You can override the location of this configuration file using the environment variable MESOS_CLI_CONFIG.

How to use it

$ mesos-cli 

Mesos CLI

Usage:
  mesos (-h | --help)
  mesos --version
  mesos <command> [<args>...]

Options:
  -h --help  Show this screen.
  --version  Show version info.

Commands:
  agent      Interacts with the Mesos agents
  config     Interacts with the Mesos CLI configuration file
  framework  Interacts with the Mesos Frameworks
  task       Interacts with the tasks running in a Mesos cluster

See 'mesos help <command>' for more information on a specific command.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

avmesos-cli-1.0.0.tar.gz (30.4 kB view hashes)

Uploaded Source

Built Distribution

avmesos_cli-1.0.0-py3-none-any.whl (44.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page