- 
                Notifications
    You must be signed in to change notification settings 
- Fork 23
fix: app and envoy container not shutting down gracefully #2155
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
          
     Merged
      
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            30 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      b8337b9
              
                fix: improve timeout handling and health check resilience during traf…
              
              
                cre8ivejp e616e3d
              
                chore: set mising timeout settings for api server
              
              
                cre8ivejp 286b464
              
                chore: adjust timeout settings
              
              
                cre8ivejp e2f1699
              
                feat: add metrics to monitor grpc server shutdown
              
              
                cre8ivejp 5618c14
              
                chore: implement prometheus push gateway
              
              
                cre8ivejp 59fcb8e
              
                fix: metrics service name
              
              
                cre8ivejp 0a4e7d3
              
                chore: set prometheusPushGatewayURL for all services
              
              
                cre8ivejp d4e3fe1
              
                fix: deprecated collector functions
              
              
                cre8ivejp 72941f4
              
                fix: grouping label conflict
              
              
                cre8ivejp d8bc12e
              
                chore: split server and service labels
              
              
                cre8ivejp 2649024
              
                fix: missing server label
              
              
                cre8ivejp c8c4fa3
              
                chore: remove shutdown metrics
              
              
                cre8ivejp 6047110
              
                chore: rebase
              
              
                cre8ivejp cb90076
              
                fix: gracefull shutdown for all services
              
              
                cre8ivejp 95e1943
              
                chore: set the timeout for k8s readiness and liveness
              
              
                cre8ivejp abe9498
              
                fix: lint error
              
              
                cre8ivejp b66f813
              
                fix: shutting down process
              
              
                cre8ivejp cfdfa18
              
                fix: shutdown order
              
              
                cre8ivejp cc11c98
              
                chore: remove drain_listeners from envoy prestop
              
              
                cre8ivejp 1f51d03
              
                fix: 503 errors when shutting down the server
              
              
                cre8ivejp e910a7b
              
                chore: remove internal shutdown ready handler
              
              
                cre8ivejp b9d6426
              
                feat: implement ready health check
              
              
                cre8ivejp faed2ab
              
                chore: change idle timeout settings to improve possible 499 errors
              
              
                cre8ivejp 4b641a6
              
                fix: health check response when getting sigterm
              
              
                cre8ivejp 2e31c9a
              
                chore: change retry count
              
              
                cre8ivejp eebcfd1
              
                chore: remove envoy healthcheck fail call
              
              
                cre8ivejp 1d75ac9
              
                chore: sleep before stopping health check
              
              
                cre8ivejp f6d8894
              
                chore: change api agteway server context
              
              
                cre8ivejp 88765b9
              
                chore: change envoy pre stop script
              
              
                cre8ivejp 25b3cbb
              
                chore: remove duplicate defer functions
              
              
                cre8ivejp File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or 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
    
  
  
    
              
  
    
      This file contains hidden or 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
    
  
  
    
              
  
    
      This file contains hidden or 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
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      Oops, something went wrong.
        
    
  
  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.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will ensure that the envoy container waits until the LB stops sending new requests before shutting down gracefully the in-flight requests.