Skip to content

Conversation

@takmatsu
Copy link

Description

Currently, k8s backend client doesn't have timeout, which causes long waiting connection could be happened when kube-api becomes unstable like network issue or node is replaced.

This PR adds timeout to kubernetes client config and make possible to reconnect correctly.

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

TBD

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

@takmatsu takmatsu requested a review from a team as a code owner April 10, 2025 09:20
@marvin-tigera marvin-tigera added this to the Calico v3.31.0 milestone Apr 10, 2025
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Apr 10, 2025
@CLAassistant
Copy link

CLAassistant commented Apr 10, 2025

CLA assistant check
All committers have signed the CLA.

@caseydavenport caseydavenport added docs-not-required Docs not required for this change and removed docs-pr-required Change is not yet documented labels Apr 10, 2025
@caseydavenport
Copy link
Member

@takmatsu thanks for the PR! You'll need to sign the CLA in order to make the bot happy

@takmatsu takmatsu force-pushed the add-timeout-kubeclient branch from a057c5b to 5cde8b5 Compare April 17, 2025 08:25
@github-actions
Copy link

This PR is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale Issues without recent activity label Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-not-required Docs not required for this change release-note-required Change has user-facing impact (no matter how small) stale Issues without recent activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants