Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intercept kubelet get node request in order to reduce the traffic #2039

Merged
merged 7 commits into from
May 23, 2024

fix: only cache object when type is add or modify

9571975
Select commit
Loading
Failed to load commit list.
Merged

intercept kubelet get node request in order to reduce the traffic #2039

fix: only cache object when type is add or modify
9571975
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed May 23, 2024 in 0s

37.50% of diff hit (target 55.37%)

View this Pull Request on Codecov

37.50% of diff hit (target 55.37%)

Annotations

Check warning on line 239 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L239

Added line #L239 was not covered by tests

Check warning on line 243 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L241-L243

Added lines #L241 - L243 were not covered by tests

Check warning on line 431 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L431

Added line #L431 was not covered by tests

Check warning on line 437 in pkg/yurthub/cachemanager/cache_manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/cachemanager/cache_manager.go#L436-L437

Added lines #L436 - L437 were not covered by tests

Check warning on line 422 in pkg/yurthub/proxy/util/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/proxy/util/util.go#L419-L422

Added lines #L419 - L422 were not covered by tests

Check warning on line 425 in pkg/yurthub/proxy/util/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/proxy/util/util.go#L424-L425

Added lines #L424 - L425 were not covered by tests

Check warning on line 427 in pkg/yurthub/proxy/util/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/yurthub/proxy/util/util.go#L427

Added line #L427 was not covered by tests