Browse Source

Update opencost ui doc

Signed-off-by: zeed-w-beez <zeed.w.zhao@gmail.com>
zeed-w-beez 3 years ago
parent
commit
3734cd3618
3 changed files with 4 additions and 2 deletions
  1. 2 0
      ui/.dockerignore
  2. 1 1
      ui/README.md
  3. 1 1
      ui/default.nginx.conf

+ 2 - 0
ui/.dockerignore

@@ -0,0 +1,2 @@
+.parcel-cache/
+node_modules/

+ 1 - 1
ui/README.md

@@ -25,7 +25,7 @@ This will launch a development server, serving the UI at `http://localhost:1234`
 OpenCost running at `http://localhost:9090`. To access an arbitrary OpenCost install, you can use
 
 ```
-kubectl port-forward deployment/opencost-cost-analyzer 9090
+kubectl port-forward deployment/opencost 9090:9003
 ```
 
 for your choice of namespace and cloud context.

+ 1 - 1
ui/default.nginx.conf

@@ -59,7 +59,7 @@ server {
         proxy_connect_timeout       180;
         proxy_send_timeout          180;
         proxy_read_timeout          180;
-        set $server http://cost-analyzer.kubecost.svc.cluster.local:9003;
+        set $server http://opencost.opencost.svc.cluster.local.:9003;
         proxy_pass $server;
         proxy_redirect off;
         proxy_http_version 1.1;