You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -101,15 +107,20 @@ be a demo. You can either build it yourself, or use our build.
101
107
102
108
```bash
103
109
$ docker build -t flux_metrics_api .
104
-
$ docker run -it -p 8080:8080 flux_metrics_api
110
+
$ docker run -it -p 8443:8443 flux_metrics_api
105
111
```
106
112
or
107
113
108
114
```bash
109
-
$ docker run -it -p 8080:8080 ghcr.io/converged-computing/flux-metrics-api
115
+
$ docker run -it -p 8443:8443 ghcr.io/converged-computing/flux-metrics-api
110
116
```
111
117
112
-
You can then open up the browser at [http://localhost:8080/metrics/](http://localhost:8080/metrics) to see
118
+
### Development
119
+
120
+
Note that this is implemented in Python, but (I found this after) we could [also use Go](https://github.com/kubernetes-sigs/custom-metrics-apiserver).
121
+
Specifically, I found this repository useful to see the [spec format](https://github.com/kubernetes-sigs/custom-metrics-apiserver/blob/master/pkg/generated/openapi/custommetrics/zz_generated.openapi.go).
122
+
123
+
You can then open up the browser at [http://localhost:8443/metrics/](http://localhost:8443/metrics) to see
0 commit comments