[chef] Re: Gradual deployments


Chronological Thread 
  • From: Charles Sullivan < >
  • To:
  • Subject: [chef] Re: Gradual deployments
  • Date: Tue, 19 Oct 2010 14:11:35 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=EaOJxVc//SNk3Tmbst8JNjGwgWqouFuKUQWe0ANbkg83YW2FJHUIs3c6x4ipTf+NMJ d4duWKXRIHcZ9GxNU9S0aNoOWYizbACJIC2sVkStqNii88O0/VhHPLyw8wYQ3/THYwzy YU9yt3UZ0fQMLKxu6v7zSvfgKWZ/Hx+AwBamE=

Mark,

I think the next major version of Chef will include the ability to have environments.  This will probably help you roll things out like you're describing.  You can track some of this work here:  http://github.com/sdelano/chef/tree/environments

On Tue, Oct 19, 2010 at 12:30 PM, Mark J. Reed < "> > wrote:
What techniques do you use for controlling the deployment of recipe
changes via Chef server? We're looking for a way to automate canary
deployments, rolling changes to first one, then a few, and then the
rest of the affected nodes.

New templates etc. can take advantage of file specificity (though it'd
be nice to have other options there for giving an arbitrary set of
nodes the same non-default file), but it's not much help if you have a
new version of the actual recipe code or a whole cookbook or a role.
One option is to give the new version a different name and shuffle run
lists around, then move it into place and shuffle back, but that can
be awkward to automate, especially if you're modifying something that
gets pulled in by other roles that depend on it.

You can copy cookbooks out and try them with chef-solo, but I don't
trust that to get the same results as a full chef-client run against
the server; it feels like more of a unit test than a deployment step.

We've thought about migrating nodes between two different Chef servers
(or two different Opscode Platform accounts), but that seems like an
awfully heavyweight solution.

Other ideas?

--
Mark J. Reed < "> >



--
Charles Sullivan
">




Archive powered by MHonArc 2.6.16.

§