Matt Ray 496d7c9feb OpenCost has its own Helm chart 3 lat temu
..
src 8b8755e2a8 remove cluster aggregation breakage 3 lat temu
.babelrc 0aa63fb1f2 A few housekeeping updates for the opencost UI: 3 lat temu
.dockerignore 3734cd3618 Update opencost ui doc 3 lat temu
.nvmrc 0aa63fb1f2 A few housekeeping updates for the opencost UI: 3 lat temu
Dockerfile a07a4f451c Allow ui to run from non privileged 3 lat temu
README.md 496d7c9feb OpenCost has its own Helm chart 3 lat temu
default.nginx.conf b881e64a5a Use localhost resolver to get host 3 lat temu
nginx.conf a07a4f451c Allow ui to run from non privileged 3 lat temu
package-lock.json 0aa63fb1f2 A few housekeeping updates for the opencost UI: 3 lat temu
package.json 0aa63fb1f2 A few housekeeping updates for the opencost UI: 3 lat temu

README.md

OpenCost UI

The preferred install path for OpenCost is via Helm chart, and is available explained here

To manually run the OpenCost UI, follow the steps below.

Requirements

  • nodejs >= 18.3.0
  • npm >= 8.11.0

Installation & Running

To run the UI, open a terminal to the opencost/ui/ directory (where this README is located) and run

npm install

This will install required dependencies 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 OpenCost running at http://localhost:9090. To access an arbitrary OpenCost install, you can use

kubectl port-forward deployment/opencost 9090:9003

for your choice of namespace and cloud context.