Independent deployment of the frontend with Docker and Kubernetes | Monica Lent
Channel: JS Kongress
Date: 2019-06-21

accessible for deaf/hearing-impaired: sign language interpreter (DGS) visible for complete duration + captions // slide collection https://buff.ly/2YLcPlA // License: CC BY-ND https://buff.ly/2TN3XIo
We start with a use case: why would you even want to move to a microfrontends architecture? You’ll learn the motivation, core concepts and principles behind microservices, how they can help your frontend team work more efficiently, and the tradeoffs that are normally involved when you try to apply them to single-page applications. Luckily, Docker and Kubernetes can alleviate a lot of these issues, and we’ll walk through a minimal but concrete example of building a microfrontends architecture with these tools on your local machine. Finally, you’ll see how you could migrate gradually and what it takes to bring this architecture to production. No previous knowledge of Docker or Kubernetes is required.

 
What are the key takeaways from this talk?
- A real-life use case for microfrontends and motivation for adopting microfrontends (tech autonomy, reduced impact of failure, team independence)
- Core concepts, principles, and prerequisites of microservices (highly decentralized, independent deployment, modeled after the business domain, and more), and the tradeoffs usually involved when applied to microfrontends (dev/prod parity, interactivity, iframes, developer experience)
- Docker and Kubernetes/Helm fundamentals – the purpose of each tool and how they complement each other
- A minimal but concrete example of how to implement a microfrontends architecture on their local machine with Docker and Kubernetes
- How to migrate to this type of architecture in a gradual way and what’s involved in deploying this architecture to production


More:
- "Kubernetes for Application Developers" - Matthew Palmer (Certified Course) https://matthewpalmer.net/kubernetes-app-developer/
- "The Container Operator’s Manual" - Alice Goldfuss (session from LeadDev London) https://youtu.be/sJx_emIiABk
- "Introduction to Kubernetes Ingress" - Jay Gorrel https://medium.com/@cashisclay/kubernetes-ingress-82aa960f658e
- Local development against a remote Kubernetes or OpenShift cluster https://github.com/telepresenceio/telepresence
- Sample code:
https://github.com/mlent/microfrontends-host
https://github.com/mlent/microfrontends-fragment-node


Monica (@monicalent) is the Frontend Lead at SumUp, a multinational fintech startup. There she leads a team of engineers distributed across three countries. Before moving to Berlin, she worked in domains such as natural language processing and cloud technologies.

Sign up for our Newsletter to receive preview-links every other Thursday starting 2019, April 04: https://js-kongress.us13.list-manage.com/subscribe/post?u=9c3420f6b5269855b07422fb5&id=f490a69da5