Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

From Java Monoliths to K8s

SpringOne 2020
Mauricio Salatino: Principal Software Engineer, Camunda

  • Be the first to comment

From Java Monoliths to K8s

  1. 1. 1 From Java Monolith to K8s @Salaboy @SpringOne https://github.com/salaboy/from-monolith-to-k8s
  2. 2. 2 @Salaboy Mauricio Salatino ( http://salaboy.com ) @Camunda / @ZeebeHQ / @LearnK8s
  3. 3. 3
  4. 4. 4 Disclaimer Live, Remote, Kubernetes, Github, DockerHub, Java, WiFi, my laptop, Too old to multi-task, what can possibly go wrong?
  5. 5. 5 https://github.com/salaboy/fmtok8s-monolith/ A Monolith
  6. 6. 6 B https://github.com/salaboy/from-monolith-to-k8s
  7. 7. 7 https://github.com/salaboy/from-monolith-to-k8s Cloud Native Conference
  8. 8. 8 - Understand Technical Implica9ons - Kubernetes Ecosystem & CI/CD - Applica>on Microservices tools & landscape - Understand your Business - Does your organiza>on understands what is happening in their applica>ons? - What brings value to your organiza>on? How?
  9. 9. 9 Kubernetes Ecosystem
  10. 10. 10 Jenkins X CI/CD for Kubernetes Part of the http://cd.foundation CI/CD is a Must
  11. 11. 11 hMps://github.com/salaboy/fmtok8s-email/ - From Source to Running in K8s - “Trunk Based Development” - Build and publish all the artefacts - GitOps approach for environments using Helm - Preview environments for PR Jenkins X
  12. 12. 12 There is no Application
  13. 13. 13 Helm to the Rescue! https://github.com/salaboy/fmtok8s-springone-app https://github.com/salaboy/fmtok8s-api-gateway/blob/master/jenkins-x.yml#L7
  14. 14. 14 Hosted or Managed?
  15. 15. 15 Application Tools
  16. 16. 16 Spring Cloud Gateway
  17. 17. 17 Be Good Cloud Native Citizens - Kubernetes Liveness & Readiness Probes in Actuators(2.3.3) https://spring.io/blog/2020/03/25/liveness-and-readiness-probes-with-spring-boot - Open API
  18. 18. 18 - Consumer Driven Contract Tes>ng - Contract - Stub - Test Spring Cloud Contracts
  19. 19. 19 Business Value
  20. 20. 20 “New Proposal” Flow Code
  21. 21. 21 - Flow buried in code - Dealing with Changes - Edge Cases and UnHappy Paths - Time Based Constraints - Implemen>ng queries / analy>cs Considerations
  22. 22. 22 Zeebe Distributed Workflow Engine Microservices and Events Orchestration •Available as •SaaS (console.cloud.camunda.io) •On-Prem (helm.zeebe.io)@ZeebeHQ http://zeebe.io
  23. 23. 23 Operate
  24. 24. 24 “New Proposal” Updated Flow
  25. 25. 25 - If you are star>ng with Kubernetes (hTps://learnk8s.io/spring-boot-kubernetes-guide) - Kna>ve Even>ng and Spring Cloud Streams (hTps://salaboy.com/2020/02/20/geYng-started-with-kna>ve-2020/) - Cloud Events Orchestra>on with Kna>ve and Spring Cloud (hTps://github.com/salaboy/orchestra>ng-cloud-events) - JHipster for best prac>ces on how to use these tools Next Steps
  26. 26. 26 - Kubernetes is Hard - Op9mize decisions (i.e. what to build or integrate) - Focus on Business Value - Tap into Open Source communi>es for best prac>ces Takeaways Questions? @Salaboy https://github.com/salaboy/from-monolith-to-k8s @LearnK8s

×