-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
add warnings when apply container memory resources are less than 6Mi #124841
Comments
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
… 6Mi issue: kubernetes#124841 Signed-off-by: joey <[email protected]>
… 6Mi issue: kubernetes#124841 Signed-off-by: joey <[email protected]>
/sig node The minimum amount of memory is a runtime requirement which can vary across implementations. I don't think that Kubernetes needs to apply any limit on top of that. |
It is not a restriction, but a warning. |
Just wondering, how warnings should be displayed? |
What would you like to be added?
When I create the following pod, and the resources requested by the container are less than 6Mi:
i got
CreateContainerError
statuskubectl get pod app -o json | jq '.status.containerStatuses[0].state':
kubelet log:
I hope to display a warning reminder when the requested memory resources are less than 6Mi
Why is this needed?
6Mi is the minimum memory value defined in moby
The text was updated successfully, but these errors were encountered: