Comments (6)
I would expect readiness probes to continue to work after a pod is terminated - the ready condition is orthogonal to pod deletion status. Once the ready condition becomes false, the probe can be stopped. If the ready condition is already false, we can stop the probe right away.
External system components can use deletion timestamp to make a decision independent of ready (and historically do), but since we added unreadyEndpoints it is appropriate for kubelet to probe ready status until such a time as the probe returns false (or if the pod never started, etc).
from kubernetes.
/sig node
from kubernetes.
/triage accepted
/priority backlog
from kubernetes.
/assign
from kubernetes.
In any case it seems this behavior will leave the pod out of the endpoints #110255 so it does not seem related to #116965
from kubernetes.
For eviction, you could maybe argue that stopping the probe is justified, but not for graceful shutdown. I think that code is simply out of date and a relic of a period before the kubelet pod workers had a more central role in the lifecycle of the pod.
from kubernetes.
Related Issues (20)
- Extend ReplicaSet or make a "CRD Set" HOT 3
- ValidatingAdmissionPolicy: auditAnnotations are included in the audit event always HOT 4
- Better field-ordering when rendering YAML/JSON HOT 7
- AppArmor Profile not activated. #2310 HOT 2
- kube-controller-manager Master Election Time Exceeds the Lease Time HOT 7
- Pods gated by custom PreEnqueue plugins don't go through backoffQ even in case they ought to HOT 8
- [Flaking Test] gce-master-scale-correctness (Unexpected CSI call) HOT 10
- The PV may be in a Terminating state and cannot be deleted when the pod are created and then the pod and pvc are quickly force deleted . HOT 5
- DRA: kubelet: support permanent and transient errors HOT 4
- [Failing Test] CSI Mock volume storage capacity storage capacity unlimited HOT 3
- [Flaking test] [sig-cli] Kubectl client Simple pod should return command exit codes should handle in-cluster config HOT 1
- Add Limit and Continue to ListRestrictions on client-go HOT 4
- [Flaking test] TestPolicyAdmission/.v1.bindings/create HOT 1
- [FG:InPlacePodVerticalScaling] Pod Resize - resize stuck "InProgress" when only resizing memory requests HOT 5
- RuntimeHandlerResolver: interface invalid nil checking HOT 5
- When Deployment is editing replicas and strategy simultaneously, it may get stuck and not continue to execute HOT 3
- 1.31 Release Notes: "Known Issues" HOT 1
- Node reboot leaving existing pod using resources stuck with error UnexpectedAdmissionError HOT 5
- kube-apiserver oom, list resource consume too much memory cause json decode HOT 6
- Flaky test failure in staging/src/k8s.io/client-go/util/workqueue HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes.