-
Notifications
You must be signed in to change notification settings - Fork 21
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
fix: avoids memory leak in istio sidecar termination #972
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| datasource | package | from | to | | ---------- | --------------------------------------------------------------------- | ------- | ------- | | npm | pepr | 0.37.2 | 0.38.2 | | docker | registry1.dso.mil/ironbank/opensource/defenseunicorns/pepr/controller | v0.37.2 | v0.38.2 |
mjnagel
approved these changes
Nov 6, 2024
UnicornChance
pushed a commit
that referenced
this pull request
Nov 12, 2024
🤖 I have created a release *beep* *boop* --- ## [0.31.0](v0.30.0...v0.31.0) (2024-11-12) ### ⚠ BREAKING CHANGES * Remove the generated exception block from the remoteCidr generation. This change means that a cidr containing the META_IP could be set. ### Bug Fixes * avoids memory leak in istio sidecar termination ([#972](#972)) ([bfd415e](bfd415e)) * ensure grafana does not install plugins from the internet ([#993](#993)) ([f3def45](f3def45)) * remove remoteCidr exception block ([#987](#987)) ([264fbf6](264fbf6)) * renovate config updated to track tests ([#981](#981)) ([2494448](2494448)) * sets `fail-fast` to `false` for matrix workflows ([#995](#995)) ([3008788](3008788)) * sort auth chains when building the authservice config ([#969](#969)) ([15487fb](15487fb)) ### Miscellaneous * add prometheus, loki, and vector e2e testing ([#939](#939)) ([f271ce2](f271ce2)) * add the scorecard supply chain security workflow ([#917](#917)) ([5626f2f](5626f2f)) * **deps:** update authservice to v1.0.3 ([#893](#893)) ([5585a3c](5585a3c)) * **deps:** update grafana curl-fips image to v8.11.0 ([#994](#994)) ([dfc4c8c](dfc4c8c)) * **deps:** update grafana to 11.3.0 ([#921](#921)) ([7cdd742](7cdd742)) * **deps:** update loki to 3.2.1 ([#918](#918)) ([5fa6a24](5fa6a24)) * **deps:** update loki to v6.19.0 ([#990](#990)) ([8bbac53](8bbac53)) * **deps:** update pepr to v0.39.0 ([#932](#932)) ([27eb1bd](27eb1bd)) * **deps:** update support dependencies to v3.27.2 ([#1001](#1001)) ([8702952](8702952)) * **deps:** update support dependencies to v3.3.0 ([#985](#985)) ([4636a38](4636a38)) * **deps:** update support dependencies to v3.3.1 ([#1002](#1002)) ([8c20b49](8c20b49)) * **deps:** update support-deps ([#928](#928)) ([a9cf1f2](a9cf1f2)) * **deps:** update support-deps ([#983](#983)) ([dc3084b](dc3084b)) * **deps:** update support-deps ([#989](#989)) ([7a1c74e](7a1c74e)) * **deps:** update velero ([#956](#956)) ([7746092](7746092)) * regroup renovate support dependencies ([#979](#979)) ([6491be9](6491be9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Taking a stab at fixing a memory leak in core sidecar job termination logic. This change creates a dummy stream to pass into the k8s.exec call instead of using process.stdin.
Additional changes to the
shouldTerminate
condition were added to account for the scenario where the sidecar was already terminated from a previous watch firing. This was previously not an issue because we were never removing items frominProgress
until we added these lines.Type of change
Checklist before merging