kubewharf / kubeadmiral

Multi-Cluster Kubernetes Orchestration
https://kubeadmiral.io
Apache License 2.0
802 stars 95 forks source link

feat: add federated hpa components #301

Closed JackZxj closed 9 months ago

JackZxj commented 9 months ago

ref:

codecov[bot] commented 9 months ago

Codecov Report

Attention: 1273 lines in your changes are missing coverage. Please review.

Comparison is base (962ece4) 31.46% compared to head (f87ec4f) 33.84%.

Files Patch % Lines
pkg/controllers/federatedhpa/controller.go 4.34% 352 Missing :warning:
.../registry/hpaaggregator/metrics/custom/provider.go 0.00% 244 Missing :warning:
pkg/registry/hpaaggregator/aggregation/rest.go 0.00% 91 Missing :warning:
pkg/hpaaggregatorapiserver/apiserver.go 21.90% 82 Missing :warning:
.../registry/hpaaggregator/aggregation/forward/pod.go 41.86% 73 Missing and 2 partials :warning:
pkg/controllers/federatedhpa/util.go 80.95% 44 Missing and 8 partials :warning:
...g/registry/hpaaggregator/metrics/custom_metrics.go 0.00% 51 Missing :warning:
...ry/hpaaggregator/metrics/resource/metricsgetter.go 66.38% 26 Missing and 14 partials :warning:
...g/lifted/kubernetes/pkg/printers/tablegenerator.go 58.75% 23 Missing and 10 partials :warning:
...l/informermanager/fake/federatedinformermanager.go 25.58% 32 Missing :warning:
... and 16 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #301 +/- ## ========================================== + Coverage 31.46% 33.84% +2.38% ========================================== Files 122 149 +27 Lines 14351 16682 +2331 ========================================== + Hits 4515 5646 +1131 - Misses 9422 10559 +1137 - Partials 414 477 +63 ``` | [Flag](https://app.codecov.io/gh/kubewharf/kubeadmiral/pull/301/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/kubewharf/kubeadmiral/pull/301/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `33.84% <46.55%> (+2.38%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.