Skip to content

Tutorials

Welcome to the Polyfea tutorials! These hands-on guides walk you through the complete journey of building, containerizing, and deploying microfrontends to Kubernetes using Polyfea's custom resources.

What You'll Learn

Each tutorial builds on the previous one to create a complete end-to-end workflow:

  1. Building a Web Component - Create a simple, reusable web component that encapsulates functionality and styles. This is the foundation of any Polyfea microfrontend.

  2. Containerizing Your Microfrontend - Package your web component in a Docker image and push it to a container registry, making it ready for Kubernetes deployment.

  3. Deploying with Polyfea CRDs - Write Kubernetes manifests including standard resources (Deployment, Service) and Polyfea Custom Resources (MicroFrontendClass, MicroFrontend, WebComponent), then deploy everything to your local cluster.

By the end, you'll have a complete microfrontend running in Kubernetes, managed by Polyfea's controller, and accessible through the Polyfea shell application.

Prerequisites

Before starting these tutorials, make sure you have: