Open paulfantom opened 1 year ago
This PR is a different (IMHO proper) fix to issue raised in https://github.com/twuni/docker-registry.helm/pull/107. By using PodMonitor instead of ServiceMonitor we can simplify and fix a few things:
.Values.metrics.port
The downside is that this is a breaking change. Alternative approach which is not breaking, but also not fixes all those issues is in
Why not split the service?
*-docker-registry
*-docker-registry-metrics
This PR is a different (IMHO proper) fix to issue raised in https://github.com/twuni/docker-registry.helm/pull/107. By using PodMonitor instead of ServiceMonitor we can simplify and fix a few things:
.Values.metrics.port
is no longer needed as PodMonitor attaches to Pod instead of SVC.The downside is that this is a breaking change. Alternative approach which is not breaking, but also not fixes all those issues is in