|
|
před 5 roky | |
|---|---|---|
| .. | ||
| src | ddfd6279f1 Narrowed down codebase given that we don't have to support drilldowns / complex filters and context | před 5 roky |
| .babelrc | 96c3b99eba Open source Reports UI | před 5 roky |
| README.md | 8bff852948 Updated ui/README with a link to the Helm install path. | před 5 roky |
| package-lock.json | 96c3b99eba Open source Reports UI | před 5 roky |
| package.json | 96c3b99eba Open source Reports UI | před 5 roky |
The preferred install path for Kubecost is via Helm chart, and is explained here
To manually run an open source demo UI, follow the steps below.
To run the UI, open a terminal to the cost-model/ui/ directory (where this README is located) and run
npm install
This will install required depndencies and build tools. To launch the UI, run
npx parcel src/index.html
This will launch a development server, serving the UI at http://localhost:1234 and targeting the data for an instance of
Kubecost running at http://localhost:9090. To access an arbitrary Kubecost install, you can use
kubectl port-forward deployment/kubecost-cost-analyzer 9090
for your choice of namespace and cloud context.