1. React
  2. JS Kongress
  3. 2019
  4. Independent deployment of the frontend with Docker and Kubernetes

Editor's Choice

Independent deployment of the frontend with Docker and Kubernetes

A real-life use case for micro-frontends and motivation for adopting them.

Monica Lent at JS Kongress 2019

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