Docker networking with dedicated network containers

Mon 06 October 2014 by Lars Kellogg-Stedman Tags docker networking kubernetes

The current version of Docker has a very limited set of networking options:

  • bridge -- connect a container to the Docker bridge
  • host -- run the container in the global network namespace
  • container:xxx -- connect a container to the network namespace of another container
  • none -- do not configure any networking

If you …

read more

Integrating custom code with Nova using hooks

Sat 27 September 2014 by Lars Kellogg-Stedman Tags openstack nova

Would you like to run some custom Python code when Nova creates and destroys virtual instances on your compute hosts? This is possible using Nova's support for hooks, but the existing documentation is somewhat short on examples, so I've spent some time trying to get things working.

The demo_nova_hooks repository …

read more

Stupid command line tricks: Quickly share screen captures

Tue 23 September 2014 by Lars Kellogg-Stedman Tags cli

Sometimes you want to quickly share a screenshot with someone. Here's my favorite mechanism, which assumes you have installed both curl and the ImageMagick suite.

$ import png:- | curl -T- -s chunk.io
http://chunk.io/f/76ea98ea081748e19de4507fde3c2c65

When you run this command, you cursor will change into crosshairs. Click on …

read more

Heat Hangout

Fri 05 September 2014 by Lars Kellogg-Stedman Tags openstack rdo heat

I ran a Google Hangout this morning on Deploying with Heat. You can find the slides for the presentation on line here, and the Heat templates (as well as slide sources) are available on github.

If you have any questions about the presentation, please feel free to ping me on …

read more

Visualizing Heat stacks

Tue 02 September 2014 by Lars Kellogg-Stedman Tags openstack heat

I spent some time today learning about Heat autoscaling groups, which are incredibly nifty but a little opaque from the Heat command line, since commands such as heat resource-list don't recurse into nested stacks. It is possible to introspect these resources (you can pass the physical resource id of a …

read more