Docker to BIG-IP: Create/Update/Delete pools of Docker containers
Problem this snippet solves: Python script that utilizes the Docker / BIG-IP APIs to create/update/delete pools. Requires the use of "magical" strings to map containers to pools. See associated De...
Published Sep 01, 2015
Version 1.0Eric_Chen
Employee
Joined May 16, 2013
Eric_Chen
Employee
Joined May 16, 2013
Marcello_de_Sal
Feb 11, 2016Nimbostratus
Hi there, there are a few improvements I'd like to propose for this:
1. Why don't you parameterize this script so that the docker pull is provided as a parameter and/or Environment variable?
2. Why don't you dockerize deploy it on Docker Hub? That way, that a universal "Docker" way to deploy the script in any given host and other users can benefit from that.
3. Add examples of using a Software-defined load balancer using HAProxy so we can reuse existing Dockerized applications with the setup
I work at a big F5 customer and I'm helping the Network team to get familiar with Docker (and getting myself familiar with F5)...
thanks
Marcello