use clientgofix library
add context parameter in verticalpodautoscaler
rename PodDisruptionsAllowed to DisruptionsAllowed because of PR 85863 in k8s repo
lint fixes and rename PodDisruptionsAllowed to DisruptionsAllowed in test file
run go mod tidy
As we are expecting v1 we should also create a watch on v1. Otherwise
see the following error in the logs:
"expected type *v1.ValidatingWebhookConfiguration, but watch
event object had type *v1beta1.ValidatingWebhookConfiguration"
The resource version metrics expose the resource version as a string in the label.
This value can change often and would therefore create huge cardinality.
This changes is to be the number value of the metric itself instead.
- To allow other external Stores, remove the `FamilyByteSlicer` interface
and give access directly to `metric.Family`.
- Move functions present in `pkg/metric/generator.go` to a dedicated package
`generator` in `pkg/metric_generator/generator.go`.
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
The resource version metrics expose the resource version as a string in the label.
This value can change often and would therefore create huge cardinality.
This changes is to be the number value of the metric itself instead.