Since the concept of Immutable Infrastructure is core to Spinnaker, we provide an image bakery powered by Hashicorp’s Packer to help you produce machine images.
For getting started, the default configuration (no changes required) provides you with enough Packer templates & base machine image options to learn how the system works. However, once you want to start customizing the bake process or use artifacts not supported by the default configuration, these documentation pages will describe how to further configure the bakery.
There are two types of configuration of the Bakery:
Every time you initiate a bake using Spinnaker, Spinnaker invokes a packer
with a mix of variables
provided by you, the Pipeline you are currently executing, and Spinnaker itself.
All of the default packer templates are versioned alongside Rosco, the image
If want to override/include a new template, place it into
default, read more here). Any local
scripts/artifacts required by that template can also be placed into that
directory, and referenced relative to the
configDir Packer variable that will
automatically be set.
You can then use the
Template File Name field under
Advanced Options in the bake
stage UI to refer to your custom template:
Image Provider Configuration
The following providers support configuring their image bakery: