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

pkg/k8s: do not wait for endpointslice cache sync in k8s >= 1.17 #20569

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

aanm
Copy link
Member

@aanm aanm commented Jul 18, 2022

When stopping the EndpointSlice Kubernetes watchers we should also
cancel the waiting to sync this group resource. In failing doing it so,
Cilium will timeout on waiting for these resources on Kubernetes
versions that should have EndpointSlice v1beta1 available but it's not
enabled.

Fixes: a0c1ad6 ("pkg/k8s/version: Set EndpointSlice cap when version >=1.17")
Signed-off-by: André Martins andre@cilium.io

When stopping the EndpointSlice Kubernetes watchers we should also
cancel the waiting to sync this group resource. In failing doing it so,
Cilium will timeout on waiting for these resources on Kubernetes
versions that should have EndpointSlice v1beta1 available but it's not
enabled.

Fixes: a0c1ad6 ("pkg/k8s/version: Set EndpointSlice cap when version >=1.17")
Signed-off-by: André Martins <andre@cilium.io>
@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 Jul 18, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.10.14 Jul 18, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.11.8 Jul 18, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.12.0 Jul 18, 2022
@aanm
Copy link
Member Author

aanm commented Jul 18, 2022

/test-1.17-4.9

@aanm aanm added the release-note/misc This PR makes changes that have no direct user impact. label Jul 18, 2022
@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 Jul 18, 2022
@aanm aanm marked this pull request as ready for review July 18, 2022 21:17
@aanm aanm requested review from a team and nebril July 18, 2022 21:17
@aanm
Copy link
Member Author

aanm commented Jul 18, 2022

/test

Job 'Cilium-PR-K8s-GKE' hit: #17617 (95.01% similarity)

@ldelossa ldelossa merged commit 25e35f1 into cilium:master Jul 18, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.12 in 1.12.0 Jul 19, 2022
@aanm aanm deleted the pr/fix-es-beta1 branch July 19, 2022 09:08
@aanm aanm added backport-done/1.12 The backport for Cilium 1.12.x for this PR is done. and removed backport-pending/1.12 labels Jul 19, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.12 to Backport done to v1.12 in 1.12.0 Jul 19, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.12 to Backport done to v1.12 in 1.12.0 Jul 19, 2022
@gandro gandro mentioned this pull request Jul 21, 2022
6 tasks
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.10.14 Jul 21, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Backport done to v1.10 in 1.10.14 Jul 28, 2022
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.11.8 Aug 9, 2022
@tklauser tklauser added backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. and removed backport-pending/1.11 labels Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. backport-done/1.12 The backport for Cilium 1.12.x for this PR is done. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
1.10.14
Backport done to v1.10
1.12.0
Backport done to v1.12
Development

Successfully merging this pull request may close these issues.

None yet

5 participants