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

Shadow service manager should be idempotent #562

Closed
kevinpollet opened this issue May 11, 2020 · 0 comments · Fixed by #592
Closed

Shadow service manager should be idempotent #562

kevinpollet opened this issue May 11, 2020 · 0 comments · Fixed by #592

Comments

@kevinpollet
Copy link
Member

kevinpollet commented May 11, 2020

Feature Request

Proposal

To forward traffic through mesh proxies, Maesh uses shadow services. To create, update or delete a shadow service corresponding to a user service the Maesh controller subscribes to service events emitted by informers.

However, it could be possible that the controller misses some events which can lead to bad state and behaviour. e.g. if the controller is down and a user service is deleted, on the next deployment, the shadow service is not created or updated which will not reflect potential changes.

To make sure that the shadow services state reflects the last known cluster state, the shadow service manager could be idempotent. Also, a service update event could create the corresponding shadow service if it does not exist to deal with missing create events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant