This document discusses automated canary analysis through Spinnaker for continuous delivery. Spinnaker is an open source tool that allows deploying software changes automatically without fear by using techniques like canary analysis. It supports multiple cloud providers and services. The presentation covers Spinnaker concepts like deployment strategies, canary deployments, chaos engineering, and best practices for canary analysis using Spinnaker like applying fine-grained traffic splits and including business metrics. It demonstrates Spinnaker capabilities using a Rick and Morty example and provides contact details for learning more.
2. Cover w/ Image
Who’s this guy?
■ Andreas Evers - Senior Solutions
Architect at Pivotal
■ Part of Application Transformation
(AppTx) EMEA
■ Active in Pivotal’s Spinnaker team
(collaboration between Spring & Cloud
Foundry R&D)
■ @andreasevers on Twitter
3. The ultimate goal of continuous delivery is
to deploy software quickly & automatically.
This can only be achieved if we’re able to
push new code without fear.
29. Go Fast - With Safety
■ Automated rollbacks
■ Deployment windows
■ Chaos monkeys
■ Deployment strategies
■ Automated canary analysis
■ Cluster locking
■ Traffic guards
■ Manual judgements
■ Conditional pipeline & stage execution
■ Notifications
30. Halyard
■ Configuration & deployment lifecycle management tool
■ Install, upgrade, configure, validate your Spinnaker installation
■ Works with Bill of Materials (BOM)
33. Rick And Morty
■ Green protagonist
■ Rick turns himself into a pickle to avoid family
therapy
■ Rolls into the sewer and has to fight rats and
cockroaches
■ Comes out victorious
■ Very strong, predictable and stable green
version
34. Rick And Morty
■ Blue antagonist
■ Genie in a box who exists only to solve the task
at hand
■ Will go to great lengths to solve that task
■ Gets aggressive if the task can’t be solved
■ Dangerous, chaotic and unstable blue version
46. Canary best practices
■ Apply fine-grained traffic splits & content-based routing with Istio or other
sophisticated load-balancing technologies
■ Fine-tune the metrics you choose to reflect key service health indicators
■ Include business metrics such as pirate metrics
47. Canary best practices
■ Run canaries long enough to gather enough data points
■ Use the metrics store explorer to figure out what metric expressions to use
■ Align the data points from both canary and baseline deployments using time
series aggregators / reducers carefully
■ Take advantage of SpEL templating to avoid manifest hell