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
Another suggestion:
4. The variable "DOCKER_HOSTS" could be retrieved from a Discovery Service such as Consul, ETCD or Eureka! That way, the list of the IP addresses would be dynamic.
* http://technologyconversations.com/2015/09/08/service-discovery-zookeeper-vs-etcd-vs-consul/
* Practical example of scaling Wordpress http://agiletesting.blogspot.com/2014/11/service-discovery-with-consul-and.html