Comments (5)
It looks that nothing is requested to the runtime when only a memory request is changed:
kubernetes/pkg/kubelet/kuberuntime/kuberuntime_manager.go
Lines 589 to 590 in 5df8e15
Even if a resizePolicy
is RestartContainer
, a container is not restarted in this case. requests.memory
in a container status is copied from allocatedResources
:
kubernetes/pkg/kubelet/kubelet_pods.go
Lines 2112 to 2114 in 5df8e15
I think the problem in this issue is that it takes 60-90 seconds to update requests.memory
in a container status. Currently, this is updated at a regular resync for the pod because nothing triggers status update. It would be better to update it earlier.
from kubernetes.
This issue is currently awaiting triage.
If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
from kubernetes.
/sig node
from kubernetes.
/assign
from kubernetes.
Could you please confirm if the requests.memory
in the container status is updated to 400Mi
90 seconds after the resize request is patched?
from kubernetes.
Related Issues (20)
- 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
- 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 4
- Flaky test failure in staging/src/k8s.io/client-go/util/workqueue HOT 11
- client-go: fake.Clientset doesn't support streaming custom logs HOT 2
- Tracking issue: evaluating dependencies with non-CNCF CLAs HOT 5
- Support HTTP2 probes over cleartext (h2c) HOT 7
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.