minimesos 0.8.0 – Weave Scope, Consul & Registrator support

Apache Mesos

Today we released minimesos 0.8.0. You can install it using the usual installer command: curl -sSL https://minimesos.org/install | sh. The Docker images are available on Docker Hub and the jar is available via Jitpack. Minimesos is the experimentation and testing tool for Apache Mesos and features a Vagrant-like workflow and a Java API. The main highlights of this release are Weave Scope, Consul and Registrator which are supported out of the box. In addition to that we have improved our build and release process and fixed many small issues.

Weave Scope

Running minimesos init will generate the minimesosFile which now comes with an app {...} configuration block for Weave Scope, the container visualizer from WeaveWorks. This great tool shows how all containers running on a host are connected.

By default, Weave Scope is available on http://localhost:4040.

App configuration block

The app configuration inside the Marathon block can be used to launch any Marathon task right after the cluster is started. It expects a path, absolute or relative paths are supported, or a url.

Consul & Registrator

Consul from Hashicorp is a well known service discovery solution. Registrator from Gliderlabs is a service that automatically registers containers with Consul. Both these tools are now supported in minimesos by default. They are a part of the minimesos cluster and are started before Master, Agent and Zookeeper containers. When the minimesos cluster starts it prints out the Consul endpoint:

Want to know more about this feature? Remmelt has written about Consul minimesos integration in more detail.

New minimesos up command flag: –debug

Another feature we added is the --debug flag to the minimesos up command. This will print DEBUG logs from minimesos’ internals.

Viewing Agent sandbox logs

Want to check the Agent logs? If you set mapAgentSandboxVolume to true in the minimesosFile the sandbox will be mapped to a directory under .minimesos/.

Long term vision

The long term vision for minimesos is being able to run isolated minimesos environments on top of a regular Mesos cluster. This means minimesos evolves from an experimentation and testing tool to an execution environment that can be used from a developers laptop all the way to the cloud. In order to move towards this goal we defined several milestones, with 0.8.0 being the first of them. See Github for more details. One of the next steps is addding more advanced service discovery with Weave Net.

Keep in touch

Thanks for reading! Keep in touch by commenting on the blog or talk to us at @minimesos and @ContainerSoluti. Check out the open issues on Github. Do you have an idea on how to improve minimesos? Please open an issue or add a PR at the minimesos Github repo. We hope you find minimesos useful. See you next time!

The following two tabs change content below.

Frank Scholten

Senior Software Engineer at Container Solutions
Frank is a senior software engineer at Container Solutions. He focuses on Cloud Native applications with DC/OS and Apache Mesos, containers and Continuous Delivery. He created minimesos, the experimentation and testing tool for Apache Mesos. He is enthusiastic about Open Source software development, process improvement and automation in particular. Drawing on experience from a wide range of projects he is always on the lookout for new technologies, methods and ways to improve things and likes to write on speak on these topics.

Leave a Reply

Your email address will not be published. Required fields are marked *