Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sailing With Spinnaker

Sailing With Spinnaker

How Namely deploys to Kubernetes

Michael Hamrah

July 10, 2018
Tweet

More Decks by Michael Hamrah

Other Decks in Technology

Transcript

  1. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Sailing With Spinnaker Delivering Containers to Kubernetes Michael Hamrah
  2. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. About Namely - Our Platform MODERN HR A flexible employee database used by everyone, every day. FULL-SERVICE PAYROLL Namely handles your payroll taxes, W-2s, 1099s, and ACA reports. TIME & ATTENDANCE Manage hourly workers and pull hours seamlessly into payroll. BENEFITS ADMINISTRATION Simplify enrollment, and automatically send elections to carriers. TALENT MANAGEMENT Paperless onboarding, goals, performance reviews, and more.
  3. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. About Namely - Quick Stats Company: 500+ Employees, 100+ Engineers Tech: AWS, Kubernetes, Go/C#/Ruby Established: 2012 Funding: $157.8 Million from Sequoia, True Ventures, Matrix Partners
  4. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Kubernetes is Great, Right? • ReplicaSets, DaemonSets, Deployments, Pods • ConfigMaps and Secrets... • Namespaces…. • Permissions/RBAC... • Logs… • Auto-scaling... • Port Management… • External DNS... • Just use the dashboard….
  5. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. I Just Want To Deploy… Continuously!
  6. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. V1: Semi-Manually • Monorepo for Manifests • SRE Deployed via kubectl • kubectl edit :( • Lots of Copypasta • Control to single team • Long feedback loop with engineers
  7. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. V2: Jenkins is.. Groovy?
  8. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. V2: Jenkins is.. Groovy?
  9. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. CD… For Real • More visibility into deploy pipeline • More visibility into user actions • Blue/green deployments • Closer integration with Kubernetes topology • Declarative Config • Multiple clusters • Rollbacks
  10. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Spinnaker https://www.spinnaker.io
  11. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. But Now I Got To Learn Spinnaker?
  12. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Pipeliner https://github.com/namely/k8s-pipeliner (Relatively) Simple yaml configuration for Spinnaker. Single-purpose composable tools are key for any SRE team.
  13. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Estuary Not open source (yet!) Glue between Github and Spinnaker. Uses Pipeliner Injects standards into pipeline. Limits, stages, cluster configuration.
  14. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Putting It Together Scaffolding Pipeline.yml GitHub Estuary Spinnaker
  15. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Putting It Together Github Jenkins Spinnaker
  16. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Putting It Together Spinnaker Int Stage Prod Stage - EKS