mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-03 20:40:26 -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> |
||
|---|---|---|
| .. | ||
| config | ||
| metrics | ||
| OWNERS | ||
| stateful_pod_control.go | ||
| stateful_pod_control_test.go | ||
| stateful_set.go | ||
| stateful_set_control.go | ||
| stateful_set_control_test.go | ||
| stateful_set_status_updater.go | ||
| stateful_set_status_updater_test.go | ||
| stateful_set_test.go | ||
| stateful_set_utils.go | ||
| stateful_set_utils_test.go | ||