mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-22 20:53:52 +09:00
The proxy caps rate and concurrent tails with 429, so the retry reasoning and its test now say so. Leaving Follow also remounts the log list, so the history it falls back to opens at the newest line even when the reader had scrolled up while following. Assisted-by: LLM Signed-off-by: ZverGuy <maximbel2003@gmail.com>
cozystack-ui
Cozystack Marketplace and Console UI — a pure SPA that talks directly to the
Kubernetes API. No BFF, no controller-generated configuration: all UI entities
are discovered dynamically from ApplicationDefinitions in the cluster.
Structure
apps/console— React + Vite SPApackages/k8s-client— fetch-based Kubernetes client with watchpackages/ui— shared UI components (Tailwind + Base UI)packages/types— shared TypeScript types
Requirements
- Node.js ≥ 20
- pnpm ≥ 9
kubectl proxyfor local development (proxies/apiand/apis)
Development
pnpm install
# in one terminal:
kubectl proxy --port 8001
# in another terminal:
pnpm dev
The app becomes available at http://localhost:3001/.
Build
pnpm build
The console is built into apps/console/dist/.
Test
pnpm test
Runs the workspace test suites (vitest + jsdom for the console).