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.

Lagom On Kubernetes

63 views

Published on

Both Lagom and Kubernetes are gaining popularity quite fast. Lagom is an open source framework for building reactive microservice systems in Java/Scala. And, Kubernetes (or K8s in short) is an open-source system for automating deployment, scaling, and management of containerized applications. Together they make an excellent stack for developing Reactive microservices of production grade.
In this session, we will take a closer look at the steps helping us deploy our Lagom application, built using Java & Maven, to Kubernetes.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Lagom On Kubernetes

  1. 1. Presented By: Himanshu Gupta Lead Consultant Lagom on Kubernetes
  2. 2. Agenda 01 What is Lagom? 02 Brief introduction to K8 03 The Need 04 Lagom and K8 Orchestration 05 Demo
  3. 3. What is Lagom? Asynchronous Both IO and Communication Distributed Persistence and Service API High Productivity Is highly performance
  4. 4. Brief Introduction to K8 Developed By Developed and maintained by Google, CodeOS, RedHat, Mesosphere, IBM, etc. Created By Project started by Google Host A platform for hosting Docker containers in a clustered environment, Scalable Provides container grouping, load balancing, auto-healing, and scaling features. S H D C
  5. 5. Kubernetes Glossary 01 02 03 04 05 06 Labels for identifying pods A group of containers Container agent A load balancer for Pods A metadata service Kubernetes server Pod Labels Kubelet Proxy etcd API Server
  6. 6. The Need OT WS Orchestration Lagom microservices can be orchestered in a single environment Wieldy Provides better control over microservices by decoupling them Tolerance With K8’s auto-healing capability, Lagom applications can be restarted automatically Scalability Can scale a Lagom application easily with Kubernetes
  7. 7. Lagom and Kubernetes Orchestration Process STEP 1 Add Akka Cluster Manager & Bootstrap dependencies STEP 2 Add the Akka Discovery suite STEP 3 Add the Reactive Lib tool STEP 4 Update Configuration 1 2 2 3 4 STEP 6 STEP 5 5 STEP 7 STEP 8 678
  8. 8. Add Akka Cluster Manager/Bootstrap
  9. 9. Add Akka Discovery Suite
  10. 10. Add Reactive Lib Tool
  11. 11. Update Configuration
  12. 12. Bind Akka Cluster Manager & Bootstrap
  13. 13. Start Minikube/K8 Cluster
  14. 14. Build Docker Image(s)
  15. 15. Deploy Lagom Microservice
  16. 16. References
  17. 17. Thank You !

×