Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Remove terminating pods from endpoints #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tjamet
Copy link

@tjamet tjamet commented Feb 22, 2020

The standard endpoint controller removes, by default, terminating pods
from an endpoint: kubernetes/kubernetes@2aaf8bd#diff-a1a9c0efe93384ed9a010e65e8ad4604R316

This behaviour let the service clients time to react to stop sending
traffic to the terminating pods while finishing processing current
requests, as pods in "terminating" state are technically still able to
accept connections and handle requests.

It allows to smoothly replace the pods by the activator when all pods
are entering the terminating state, for the reason described above.

Fixes: #30

@msftclas
Copy link

msftclas commented Feb 22, 2020

CLA assistant check
All CLA requirements met.

@tjamet tjamet force-pushed the master branch 3 times, most recently from 44639e6 to b67739c Compare February 22, 2020 22:17
The standard endpoint controller removes, by default, terminating pods
from an endpoint: kubernetes/kubernetes@2aaf8bd#diff-a1a9c0efe93384ed9a010e65e8ad4604R316

This behaviour let the service clients time to react to stop sending
traffic to the terminating pods while finishing processing current
requests, as pods in "terminating" state are technically still able to
accept connections and handle requests.

It allows to smoothly replace the pods by the activator when all pods
are entering the terminating state, for the reason described above.
@codecov-io
Copy link

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   40.32%   40.32%           
=======================================
  Files          14       14           
  Lines         977      977           
=======================================
  Hits          394      394           
  Misses        554      554           
  Partials       29       29

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2bf13af...b8dc5d9. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

502 gateway errors when a new request comes in while zero scaler is terminating PODs
3 participants