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

Decouple k8s client heartbeat from connection timeout and keep alive #32625

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dlapcevic
Copy link
Contributor

The main reason to introduce this is to be able to increase the heartbeat interval without affecting the k8s client connection settings.

It also allows the possibility to disable heartbeat, by setting k8s-heartbeat-timeout to 0, without disable the k8s client itself.

When upgrading, users can experience a change to their configuration if they were overriding the `k8s-heartbeat-timeout` flag.
K8s client timeout and keep alive are no longer getting values from the `k8s-heartbeat-timeout` flag, but have default values (30 seconds).

Signed-off-by: Dorde Lapcevic <dordel@google.com>

@dlapcevic dlapcevic requested review from a team as code owners May 20, 2024 11:55
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label May 20, 2024
@dlapcevic dlapcevic force-pushed the k8s-heatbeat-timeout branch 2 times, most recently from 1fa8c07 to e8a4483 Compare May 24, 2024 13:19
@dlapcevic
Copy link
Contributor Author

/test

The main reason to introduce this is to be able to increase the heartbeat interval without affecting the k8s client connection settings.

It also allows the possibility to disable heartbeat, by setting `k8s-heartbeat-timeout` to 0, without disable the k8s client itself.

```release-note
When upgrading, users can experience a change to their configuration if they were overriding the `k8s-heartbeat-timeout` flag. k8s client timeout and keep alive are no longer getting values from the `k8s-heartbeat-timeout` flag, but rather would have default values (30 seconds).
```

Signed-off-by: Dorde Lapcevic <dordel@google.com>
@dlapcevic
Copy link
Contributor Author

/test

@tommyp1ckles
Copy link
Contributor

thanks for the improvements @dlapcevic ... one more thing, can we put the auto generated Documentation changes into a seperate commit? Makes reading through commits a lot easier 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dont-merge/needs-release-note-label The author needs to describe the release impact of these changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants