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

[v1.8] k8s: Consider session affinity parameters when comparing Services #13286

Merged
merged 1 commit into from Sep 25, 2020

Conversation

adamwg
Copy link
Contributor

@adamwg adamwg commented Sep 24, 2020

This is a direct backport of #13271 to 1.8.

Fixes: #12489

$ for pr in 13271; do contrib/backporting/set-labels.py $pr done 1.8; done
Fix handling of changes to session affinity configuration for Kubernetes services.

[ upstream commit 745a26b ]

Previously, if the `sessionAffinity` or `sessionAffinityTimeoutSec` of a Service
changed, cilium would ignore the change. This meant that even though cilium
correctly handles `sessionAffinity`, changing the `sessionAffinity` of a service
without any other changes did not cause cilium to change its handling.

Add `sessionAffinity` and `sessionAffinityTimeoutSec` handling to the comparator
for services, so that cilium will notice affinity changes.

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
@adamwg adamwg requested a review from a team as a code owner September 24, 2020 22:37
@maintainer-s-little-helper maintainer-s-little-helper bot added backport/1.8 kind/backports This PR provides functionality previously merged into master. labels Sep 24, 2020
@borkmann
Copy link
Member

test-backport-1.8

@qmonnet
Copy link
Member

qmonnet commented Sep 25, 2020

test-missed-k8s
(#13011)

@qmonnet
Copy link
Member

qmonnet commented Sep 25, 2020

retest-4.19

@joestringer
Copy link
Member

@joestringer joestringer merged commit f197c9d into cilium:v1.8 Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backports This PR provides functionality previously merged into master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants