Просмотр исходного кода

Merge branch 'develop' into feat/build-info-metric

Ajay Tripathy 3 лет назад
Родитель
Сommit
bfd3122880
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      CONTRIBUTING.md

+ 2 - 2
CONTRIBUTING.md

@@ -56,12 +56,12 @@ This would expose Prometheus on port 9080 and allow setting the environment vari
 PROMETHEUS_SERVER_ENDPOINT="http://127.0.0.1:9080"
 PROMETHEUS_SERVER_ENDPOINT="http://127.0.0.1:9080"
 ```
 ```
 
 
-If you want to run with a specific kubeconfig the environment variable `KUBECONFIG_PATH` can be used. cost-model will attempt to connect to your Kubernetes cluster in a similar fashion as kubectl so the env is not required. The order of precedence is `KUBECONFIG_PATH` > default kubeconfig file location ($HOME/.kube/config) > in cluster config
+If you want to run with a specific kubeconfig the environment variable `KUBECONFIG` can be used. cost-model will attempt to connect to your Kubernetes cluster in a similar fashion as kubectl so the env is not required. The order of precedence is `KUBECONFIG` > default kubeconfig file location ($HOME/.kube/config) > in cluster config
 
 
 Example:
 Example:
 
 
 ```bash
 ```bash
-export KUBECONFIG_PATH=~/.kube/config
+export KUBECONFIG=~/.kube/config
 ```
 ```
 
 
 There are two more environment variables recommended to run locally. These should be set as the default file location used is `/var/` which usually requires more permissions than kubecost actually needs to run. They do not need to match but keeping everything together can help cleanup when no longer needed.
 There are two more environment variables recommended to run locally. These should be set as the default file location used is `/var/` which usually requires more permissions than kubecost actually needs to run. They do not need to match but keeping everything together can help cleanup when no longer needed.