Skip to content

Fix tproxy failover issue with sameness groups#17533

Merged
hashi-derek merged 1 commit intomainfrom
derekm/tproxy-failover-default-sameness
May 31, 2023
Merged

Fix tproxy failover issue with sameness groups#17533
hashi-derek merged 1 commit intomainfrom
derekm/tproxy-failover-default-sameness

Conversation

@hashi-derek
Copy link
Contributor

Sameness groups with default-for-failover enabled did not function properly with tproxy whenever all instances of the service disappeared from the local cluster. This occured, because there were no corresponding resolvers (due to the implicit failover policy) which caused VIPs to be deallocated.

This ticket expands upon the VIP allocations so that both service-defaults and service-intentions (without destination wildcards) will ensure that the virtual IP exists.

@hashi-derek hashi-derek added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport labels May 31, 2023
Sameness groups with default-for-failover enabled did not function properly with
tproxy whenever all instances of the service disappeared from the local cluster.
This occured, because there were no corresponding resolvers (due to the implicit
failover policy) which caused VIPs to be deallocated.

This ticket expands upon the VIP allocations so that both service-defaults and
service-intentions (without destination wildcards) will ensure that the virtual
IP exists.
@hashi-derek hashi-derek force-pushed the derekm/tproxy-failover-default-sameness branch from 6c8a88c to 19c7337 Compare May 31, 2023 18:20
@hashi-derek hashi-derek marked this pull request as ready for review May 31, 2023 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-backport pr/no-changelog PR does not need a corresponding .changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants