In v1.33, we introduced status.observedGeneration and conditions[].observedGeneration fields in pods that tells you which podspec has been ack'd by the kubelet.
The primary motivation for this new field was in the context of in-place-pod-resize. With both IPPR and observedGeneration enabled:
status.observedGeneration lets you know the latest resize request that has been ack'd by the kubelet
conditions[].observedGeneration on the PodResizePending and PodResizeInProgress conditions lets you know which resize request is currently being reflected by that condition.
We should add this to the documentation on k/website, probably here: https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/.
/kind documentation
/triage accepted
/assign
In v1.33, we introduced
status.observedGenerationandconditions[].observedGenerationfields in pods that tells you which podspec has been ack'd by the kubelet.The primary motivation for this new field was in the context of in-place-pod-resize. With both IPPR and observedGeneration enabled:
status.observedGenerationlets you know the latest resize request that has been ack'd by the kubeletconditions[].observedGenerationon thePodResizePendingandPodResizeInProgressconditions lets you know which resize request is currently being reflected by that condition.We should add this to the documentation on k/website, probably here: https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/.
/kind documentation
/triage accepted
/assign