Skip to content

Latest commit

 

History

History
84 lines (70 loc) · 4.01 KB

README.md

File metadata and controls

84 lines (70 loc) · 4.01 KB

warning This document applies to the HEAD of the calico-containers source tree.

View the calico-containers documentation for the latest release here.

Mesos with Calico networking

Calico can be used as a network plugin for Mesos both for the Docker Containerizer and the Unified Containerizer.

Docker Containerizer

Calico with the Docker Containerizer uses a Calico network and IPAM driver that hooks directly into the Docker networking infrastructure. Docker networks using the Calico plugin are created up-front, and Mesos can then be used to launch Docker containers using these networks. Each network is associated with a single Calico profile. Fine grained policy can be modified using the calicoctl profile commands.

Unified Containerizer

Calico with the Unified Containerizer uses the [Calico Mesos plugin] (https://github.com/projectcalico/calico-mesos) to configure networking for a Mesos agent that is using the net-modules network isolator. Networks are specified as net-groups when launching a Mesos task. A Calico profile is automatically created for each net-group (if it doesn't already exist), defaulting to allow communication between containers using the same net-group. Fine grained policy can be modified using the calicoctl profile commands.

Cluster Configuration Requirements

The installation requirements to use Calico networking are different depending on whether you are using the Docker Containerizer or the Unified Containerizer. When setting up your cluster, follow the appropriate guide based on your requirements.

Calico is particularly suitable for large Mesos deployments on bare metal or private clouds, where the performance and complexity costs of overlay networks can become significant. It can also be used in public clouds.

If you have an existing Mesos cluster, follow the appropriate installation guide. However, please ensure that Mesos (and Marathon if you are using it) are installed at the appropriate minimum version, upgrading if necessary.

Guides

To build a new Mesos cluster with Calico networking, try one of the following guides:

Quick Start a Sample Cluster:

  • Centos Vagrant guide - set up a Calico Mesos cluster with one Mesos Master and two Mesos Agents.
    • This is the easiest way to set up a cluster with all of the required services running to launch tasks with either the Unified Containerizer or Docker Containerizer.

Installation guides:

Demonstration guides:

Contact Us

Get in touch with us directly in our #mesos channel on Slack (sign up here)!

Analytics