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

Kubernetes the ❤️ way

Kubernetes the ❤️ way

Wahrscheinlich jede IT steht (oder stand) vor der Entscheidung, ob oder eher wann ein Container Scheduler wie z.B. Kubernetes eingeführt werden soll. Das technische Zielbild formt sich dabei relativ schnell, aber wie sieht es mit der Migration bestehender Systeme aus? Muss ich all meine Spring-Anwendungen auf Spring Boot portieren? Wie kann die Migration hin zu Docker und Kubernetes im laufenden Betrieb vollzogen werden? Wie nehme ich die gesamte Entwicklungsmannschaft mit? Wie kann ein inkrementelles Onboarding aussehen?

Bei Shopping24 kommen wir von einem klassischen Set-up mit Baremetal- und virtuellen Servern und haben in zwölf Monaten unsere gesamte Infrastruktur auf Docker und Kubernetes umgezogen. In diesem Talk beschreibe ich die inkrementellen Schritte der Migration von ersten Gehversuchen auf dem CI-Server hin zum Multi-Cluster-Set-up von Kubernetes. Ich beleuchte die Learnings im Betrieb von Kubernetes und CEPH, die Lernkurve der Entwickler, aber auch den tiefgreifenden Shift in der Betriebsverantwortung innerhalb der IT.

Torsten Bøgh Köster

May 07, 2019
Tweet

More Decks by Torsten Bøgh Köster

Other Decks in Technology

Transcript

  1. ✨ @tboeghk ✨ Timeline rough & idealized CI / CD

    Development- Infrastructure Image- Resizing Logging X-Mas 2017 Jan 2018 March 2018 May 2018 Public Apps Nov 2018 The Shootout Fall 2017 Backoffice July 2018
  2. ✨ @tboeghk ✨ Flexible infrastructure for flexible business needs Data

    center hot spots Elastic resource assignment Photo by Nicolasintravel on Unsplash
  3. ✨ @tboeghk ✨ Timeline CI / CD Development- Infrastructure Image-

    Resizing Logging X-Mas 2017 Jan 2018 March 2018 May 2018 Public Apps Nov 2018 The Shootout Fall 2017 Backoffice July 2018
  4. ✨ @tboeghk ✨ building blocks Docker Kubernetes Ceph KVM ...

    everything on premise Photo by Josh Withers on Unsplash
  5. ✨ @tboeghk ✨ from zero to hero? How to manage

    a steep learning curve Photo by jean wimmerlin on Unsplash
  6. ✨ @tboeghk ✨ Our system scope Edge- Cache shopping24.de wohnklamotte.de

    shoparound.at API REST Thrift Ads Widget Product- Index Products Feed- Enricher CSV-Feedimport Imaginator CSV Images Search-Updater Resizer Thumbnail- Cache Edge- Cache API
  7. ✨ @tboeghk ✨ Timeline CI / CD Development- Infrastructure Image-

    Resizing Logging X-Mas 2017 Jan 2018 March 2018 May 2018 Public Apps Nov 2018 The Shootout Fall 2017 Backoffice July 2018
  8. ✨ @tboeghk ✨ Eliminating the snowflake ci server Handcrafted Grown

    over years Immutable Photo by Darius Cotoi on Unsplash
  9. ✨ @tboeghk ✨ Building everything in Docker On ci server:

    Java & Docker Pipeline all the things fabric8 Maven plugin Photo by TRΛVELER . on Unsplash
  10. ✨ @tboeghk ✨ Timeline CI / CD Development- Infrastructure Image-

    Resizing Logging X-Mas 2017 Jan 2018 March 2018 May 2018 Public Apps Nov 2018 The Shootout Fall 2017 Backoffice July 2018
  11. ✨ @tboeghk ✨ Development infrastructure to k8s Supposed to be

    non-critical … *lol* Photo by _M_V_ on Unsplash
  12. ✨ @tboeghk ✨ basic k8s handling rolling updates, unit of

    deployment Photo by John Schnobrich on Unsplash
  13. ✨ @tboeghk ✨ Ingress handling NodePort vs. HTTP ingress Load

    balancing in general Photo by Shengjun Shi on Unsplash
  14. ✨ @tboeghk ✨ Timeline CI / CD Development- Infrastructure Image-

    Resizing Logging X-Mas 2017 Jan 2018 March 2018 May 2018 Public Apps Nov 2018 The Shootout Fall 2017 Backoffice July 2018
  15. ✨ @tboeghk ✨ Side quest: image resizing cpu intense, stateless

    workload Photo by Bench Accounting on Unsplash
  16. ✨ @tboeghk ✨ Side quest: image resizing spikey workload distributes

    across whole cluster Photo by Bench Accounting on Unsplash
  17. ✨ @tboeghk ✨ Timeline CI / CD Development- Infrastructure Image-

    Resizing Logging X-Mas 2017 Jan 2018 March 2018 May 2018 Public Apps Nov 2018 The Shootout Fall 2017 Backoffice July 2018
  18. ✨ @tboeghk ✨ Timeline CI / CD Development- Infrastructure Image-

    Resizing Logging X-Mas 2017 Jan 2018 March 2018 May 2018 Public Apps Nov 2018 The Shootout Fall 2017 Backoffice July 2018
  19. ✨ @tboeghk ✨ back office to k8s „small“ tools. 36

    of them. Photo by Bethany Legg on Unsplash
  20. ✨ @tboeghk ✨ Spring Boot ❤ Docker and Java 11+

    Photo by Alexandru Tudorache on Unsplash
  21. ✨ @tboeghk ✨ Timeline CI / CD Development- Infrastructure Image-

    Resizing Logging X-Mas 2017 Jan 2018 March 2018 May 2018 Public Apps Nov 2018 The Shootout Fall 2017 Backoffice July 2018
  22. ✨ @tboeghk ✨ PHP-Portale nach k8s Deep Nginx knowledge needed

    Sacrifice separation of concerns for adaptability Photo by Ian Espinosa on Unsplash