Skip to content

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
@dlapcevic dlapcevic requested review from doniacld and asauber 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 requested a review from tommyp1ckles May 20, 2024 11:55
@dlapcevic dlapcevic force-pushed the k8s-heatbeat-timeout branch from 565021c to 2fe1a90 Compare May 23, 2024 14:06
@dlapcevic dlapcevic requested a review from tommyp1ckles May 23, 2024 14:07
@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

@dlapcevic dlapcevic force-pushed the k8s-heatbeat-timeout branch from e8a4483 to 7342a1d Compare May 27, 2024 11:21
@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 😄

@dlapcevic dlapcevic force-pushed the k8s-heatbeat-timeout branch 2 times, most recently from bae6acb to f70771d Compare June 3, 2024 15:05
@dlapcevic
Copy link
Contributor Author

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 😄

Done

@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>
Signed-off-by: Dorde Lapcevic <dordel@google.com>
@aanm aanm force-pushed the k8s-heatbeat-timeout branch from f70771d to 482aa2a Compare June 17, 2024 07:42
@aanm
Copy link
Member

aanm commented Jun 17, 2024

/test

@aanm aanm added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Jun 17, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jun 17, 2024
@aanm aanm enabled auto-merge June 17, 2024 07:57
@aanm aanm added this pull request to the merge queue Jun 17, 2024
Merged via the queue into cilium:main with commit 51ff384 Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants