Sailing With Spinnaker

Sailing With Spinnaker

How Namely deploys to Kubernetes

3ca5501cb61a4251bd1e6f0a878bb8d4?s=128

Michael Hamrah

July 10, 2018
Tweet

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
  5. © 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….
  6. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. I Just Want To Deploy… Continuously!
  7. © 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
  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. V2: Jenkins is.. Groovy?
  10. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. What Do We Want?
  11. © 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
  12. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

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

    rights reserved. CD… For Real
  14. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. CD… For Real
  15. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. CD… For Real
  16. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. CD… For Real
  17. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. But Now I Got To Learn Spinnaker?
  18. © 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.
  19. © 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.
  20. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

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

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

    rights reserved. Putting It Together Spinnaker Int Stage Prod Stage - EKS
  23. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Questions?
  24. © 2018, Amazon Web Services, Inc. or Its Affiliates. All

    rights reserved. Thank You