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

Feature/istio quitquitquit 01 #124

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ajendrosch
Copy link
Contributor

Do not merge!
For special cases when Istio needs to get terminated manually after a run.

ajendrosch and others added 7 commits January 2, 2025 22:57
- Defined `sendQuitQuitQuit` function to send a POST request to Istio's `quitquitquit` endpoint for graceful sidecar shutdown.
- Called `sendQuitQuitQuit` before program exit to ensure Istio sidecar terminates correctly.
- Included error handling to log and exit if the request fails.
- Imported "net/http" and "time"
made istioQuitEndpoint configurable using command line flags
@ajendrosch ajendrosch requested a review from a team as a code owner January 12, 2025 21:04
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.

1 participant