diff --git a/README.md b/README.md index f5ca850..b6098e7 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ Find the installation and run instructions [here](https://github.com/NVIDIA/gpu- To gather metrics on a GPU node, simply start the dcgm-exporter container: ``` -$ docker run -d --gpus all --rm -p 8080:8080 nvidia/dcgm-exporter:latest -$ curl localhost:8080/metrics +$ docker run -d --gpus all --rm -p 9400:9400 nvidia/dcgm-exporter:latest +$ curl localhost:9400/metrics # HELP DCGM_FI_DEV_SM_CLOCK SM clock frequency (in MHz). # TYPE DCGM_FI_DEV_SM_CLOCK gauge # HELP DCGM_FI_DEV_MEM_CLOCK Memory clock frequency (in MHz). @@ -44,8 +44,8 @@ $ kubectl create -f https://raw.githubusercontent.com/NVIDIA/gpu-monitoring-tool $ NAME=$(kubectl get pods -l "app.kubernetes.io/name=dcgm-exporter, app.kubernetes.io/version=2.0.0-rc.0" \ -o "jsonpath={ .items[0].metadata.name}") -$ kubectl proxy --port=8080 -$ curl http://localhost:8080/api/v1/namespaces/default/pods/$NAME:8080/proxy +$ kubectl proxy --port=9400 +$ curl http://localhost:9400/api/v1/namespaces/default/pods/$NAME:9400/proxy # HELP DCGM_FI_DEV_SM_CLOCK SM clock frequency (in MHz). # TYPE DCGM_FI_DEV_SM_CLOCK gauge # HELP DCGM_FI_DEV_MEM_CLOCK Memory clock frequency (in MHz). diff --git a/pkg/main.go b/pkg/main.go index 6ce5b20..ea4c45e 100644 --- a/pkg/main.go +++ b/pkg/main.go @@ -53,7 +53,7 @@ func main() { &cli.IntFlag{ Name: CLIPort, Aliases: []string{"p"}, - Value: 8080, + Value: 9400, Usage: "Port", EnvVars: []string{"DCGM_EXPORTER_PORT"}, },