kubernetes / client-go

Go client for Kubernetes.
Apache License 2.0
8.98k stars 2.93k forks source link

Clientgo StreamWatcher is consuming high memory in high pod churn case #1324

Open kuldeepsolanki04 opened 9 months ago

kuldeepsolanki04 commented 9 months ago

I am following the standard controller framework as per below link Controller and in high pod churn case my application is consuming a high memory and its keep on growing

Screenshot 2023-12-20 at 1 56 46 PM
Screenshot 2023-12-20 at 1 57 25 PM
kuldeepsolanki04 commented 8 months ago

/help

k8s-ci-robot commented 8 months ago

@kuldeepsolanki04: This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to [this](https://github.com/kubernetes/client-go/issues/1324): >/help > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
CoderReaper commented 6 months ago

I also encountered the same situation.