mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-14 16:25:09 -05:00
* adding maxunavailable_violation metric added metric to list of stable metrics changed when metric gets incremented addressed comments fixed stable metrics list * Update pkg/controller/statefulset/metrics/metrics.go Co-authored-by: Filip Křepinský <fkrepins@redhat.com> * Update the metric and log verbosity level * Address false positives metric count Signed-off-by: Heba Elayoty <heelayot@microsoft.com> * Implement maxUnavailable and UnavailableReplicas metrics Signed-off-by: Heba Elayoty <heelayot@microsoft.com> * fix lint fmt Signed-off-by: Heba Elayoty <heelayot@microsoft.com> * update tests Signed-off-by: Heba Elayoty <heelayot@microsoft.com> * se metrics to 1 as a default * log for true validation only and update func sig. * Move maxUnavailable metric to the updateStatefulSetStatus Signed-off-by: Heba Elayoty <heelayot@microsoft.com> * change metrics stability level to Alpha Signed-off-by: Heba Elayoty <heelayot@microsoft.com> * fix unit test Signed-off-by: Heba Elayoty <heelayot@microsoft.com> * fix linting issue Signed-off-by: Heba Elayoty <heelayot@microsoft.com> * Address code review feedback Signed-off-by: Heba Elayoty <heelayot@microsoft.com> --------- Signed-off-by: Heba Elayoty <heelayot@microsoft.com> Co-authored-by: Filip Křepinský <fkrepins@redhat.com> Co-authored-by: Heba Elayoty <heelayot@microsoft.com> |
||
|---|---|---|
| .. | ||
| metrics.go | ||