Ah, the Single Page Application (SPA). You’ve built it in React, Vue, or Svelte. You’ve run npm run build, and out pops a dist/ folder containing a few .js, .css, and an index.html.

Now comes the boring part: Getting it onto a Kubernetes cluster.

You have two options:

Write a simple Deployment and Service YAML file (maybe 30 lines total).

Scaffold a full Helm chart with values.yaml, _helpers.tpl, and templates/.