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

Remove PKILL implementation for Istio versions < 1.3 #17

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Conversation

kvij
Copy link
Owner

@kvij kvij commented Sep 20, 2023

It has been 4 years since Istio 1.3 has been released introducing the /quitquitquit endpoint.
It should be safe to remove the kill implementation that was necessary for v1.2 and lower.

If the ENVOY_ADMIN_API is set to the default port 15000 the ISTIO_QUIT_API configured correctly by default.
On deployments that restart the containers the shutdown behavior might be undesirable.
The Istio sidecar will be restarted but when the pod has multiple containers that means that meaningful work in the containers that did not crash could be interrupted.

So for pods that have multiple containers that need traffic through the service mesh, it is recommended to set NEVER_KILL_ISTIO to true.

Fixes redboxllc#33

@kvij kvij force-pushed the remove_pkill branch 2 times, most recently from 1e813c4 to 55d2bf8 Compare September 21, 2023 19:29
@kvij kvij force-pushed the remove_pkill branch 2 times, most recently from 6204920 to cfb1003 Compare October 1, 2023 19:04
Sending the kill signal was needed for Istio < v1.3 and 1.3 has been
released 4 years ago.

If the `ENVOY_ADMIN_API` is set to the default port `15000` the
`ISTIO_QUIT_API` configured correctly by default.
On deployments that restart the containers the shutdown behaviour might
be undesirable.
The Istio sidecar will be restarted but when the pod has multiple
containers that means that meaningful work in the containers that did
not crash could be interrupted.

So for pods that have multiple containers that need traffic through the
service mesh, it is recommended to set `NEVER_KILL_ISTIO` to `true`.
@kvij kvij marked this pull request as ready for review October 1, 2023 19:15
@kvij kvij merged commit b928303 into master Oct 1, 2023
2 checks passed
@kvij kvij deleted the remove_pkill branch October 1, 2023 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Istio pkill command for Istio <1.3
1 participant