Module 3: F5 Container Connector with Mesos / Marathon

Overview

F5 Container connector in Mesos / Marathon is called: F5 Marathon BIG-IP Controller.

The F5 Marathon BIG-IP Controller is a container-based Marathon Application – marathon-bigip-ctlr. You can launch the F5 Marathon BIG-IP Controller in Marathon via the Marathon REST API or the Marathon Web Interface.

The marathon-bigip-ctlr watches the Marathon API for special “F5 Application Labels” that tell it:

  • What Application we want it to manage
  • How we want to configure the BIG-IP for that specific Application.

You can manage BIG-IP objects directly, or deploy iApps, with the F5 Marathon BIG-IP Controller.

See also

The official F5 documentation is here: F5 Container Connector - Marathon

Architecture

../../_images/F5-container-connector-overview-f5-solution-architecture.png

In Marathon, you can associate labels with Application tasks for tracking/reporting purposes. F5 has developed a set of custom “F5 Application Labels” as a way notify the F5 Marathon BIG-IP Controller that they have work to do.

When the F5 Marathon BIG-IP Controller discovers Applications with new or updated F5 Application Labels, it dynamically creates iApps or virtual servers, pools, pool members, and HTTP health monitors for each of the Application’s tasks.

See also

If you want to have more details about the F5 Application Labels, you may go to the F5 official documentation here: F5 BIG-IP Controller for Marathon

Prerequisites

Before being able to use the Container Connecter, you need to handle some prerequisites

  • You must have a fully active/licensed BIG-IP
  • A BIG-IP partition needs to be setup for the Container connector. You need to have access to a user with the right privileges
  • You need a user with administrative access to this partition
  • Your Mesos / Marathon environment must be up and running already