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 max drain duration #50508

Merged
merged 2 commits into from
Apr 17, 2024
Merged

Conversation

ramaraochavali
Copy link
Contributor

@ramaraochavali ramaraochavali commented Apr 17, 2024

Some protocols needs more drain duration it seems #50477. Envoy does not have max - So not sure if we should have one

  • Ambient
  • Configuration Infrastructure
  • Docs
  • Dual Stack
  • Installation
  • Networking
  • Performance and Scalability
  • Policies and Telemetry
  • Security
  • Test and Release
  • User Experience
  • Developer Infrastructure

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
@ramaraochavali ramaraochavali requested a review from a team as a code owner April 17, 2024 11:03
@istio-policy-bot istio-policy-bot added the release-notes-none Indicates a PR that does not require release notes. label Apr 17, 2024
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 17, 2024
@@ -1390,10 +1390,6 @@ func ValidateDrainDuration(drainTime *durationpb.Duration) (errs error) {
errors.New("drain time only supports durations to seconds precision"))
}

if drainDuration > drainTimeMax {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it was there?

If remove, drainTimeMax should be removed too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not the know the history. But seems not needed. Removed the var also

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
@istio-testing istio-testing added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 17, 2024
@ramaraochavali
Copy link
Contributor Author

/test integ-security

Copy link
Member

@howardjohn howardjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I wouldn't recommend setting it to 100hr personally... but if someone wants to 🤷

@ramaraochavali
Copy link
Contributor Author

I wouldn't recommend setting it to 100hr personally... but if someone wants to 🤷

Same here

@istio-testing istio-testing merged commit f690cf5 into istio:master Apr 17, 2024
28 checks passed
@ramaraochavali ramaraochavali deleted the fix/remove_drain branch April 17, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes-none Indicates a PR that does not require release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants