|
|
4 tahun lalu | |
|---|---|---|
| .. | ||
| src | 5e37d2fb37 Fixed a bad URL in the allocations UI | 5 tahun lalu |
| .babelrc | 941c807ceb Upgrading to Parcel2. Dependabot found a security issue with Parcel 1.12.5, but that is the latest version of Parcel1 and no new versions will be released. | 5 tahun lalu |
| README.md | 941c807ceb Upgrading to Parcel2. Dependabot found a security issue with Parcel 1.12.5, but that is the latest version of Parcel1 and no new versions will be released. | 5 tahun lalu |
| package-lock.json | 1416df5d04 Bump follow-redirects from 1.14.7 to 1.14.8 in /ui | 4 tahun lalu |
| package.json | 5457f9579e Bump parcel + dependency versions | 4 tahun lalu |
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.
nodejs >= 12.0.0npm >= 7.0.0To 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.