smartxworks / cluster-api-provider-virtink

Kubernetes Cluster API Provider Virtink
Apache License 2.0
24 stars 2 forks source link

feat: Report VM errors to CAPI Machine #26

Closed scuzhanglei closed 1 year ago

scuzhanglei commented 1 year ago

When unrecoverable errors occur on a VM, report the errors to Machine will accelerate the remediation process of MachineHealthCheck.

codecov[bot] commented 1 year ago

Codecov Report

Merging #26 (d7904f9) into main (37ae04d) will decrease coverage by 3.47%. The diff coverage is 32.43%.

@@            Coverage Diff             @@
##             main      #26      +/-   ##
==========================================
- Coverage   52.92%   49.44%   -3.48%     
==========================================
  Files           3        4       +1     
  Lines         427      453      +26     
==========================================
- Hits          226      224       -2     
- Misses        170      197      +27     
- Partials       31       32       +1     
Impacted Files Coverage Δ
controllers/errors.go 0.00% <0.00%> (ø)
controllers/virtinkmachine_controller.go 42.20% <32.35%> (-3.82%) :arrow_down:
controllers/virtinkcluster_controller.go 50.35% <100.00%> (-2.16%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.