Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Installing Contrail with Mesos

The setup process is a 2-step process including DC/OS setup and Contrail setup.

Refer to Mesosphere DC/OS website to set up DC/OS.

Contrail Networking supports DC/OS version—1.11.0.

Contrail Setup

contrail-container-builder is added with two new containers: Mesos manager and mesos-node-init

  • mesos-node-init installs Mesos CNI.

  • mesos manager and mesos-node-init runs on the worker node.

Note:

Orchestration is set to Mesos but no Mesos components will be installed through contrail-ansible-deployer.

Run the following commands to set up Contrail.

  1. Install ansible and clone ansible deployer.

    For more details, refer to contrail-ansible-deployer GitHub repository.

  2. Verify configure_instances.yml file.

    Sample configure_instances.yml file

    For more details, refer to Contrail deployment on Mesosphere DC/OS orchestrator.

  3. Run Contrail Ansible playbooks.
    Note:

    You can specify orchestrator as Mesos in instance.yaml or run in ansible-playbook as -e orchestrator=mesos.

You can also import Mesos cluster in Contrail command. For details, refer to Importing Contrail Cluster Data using Contrail Command.