Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions modules/deployments-setting-resources.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ This resource is available only if a cluster administrator has enabled the ephem

A deployment is completed by a pod that consumes resources (memory, CPU, and ephemeral storage) on a node. By default, pods consume unbounded node resources. However, if a project specifies default container limits, then pods consume resources up to those limits.

[NOTE]
====
The minimum memory limit for a deployment is 12 MB. If a container fails to start due to a `Cannot allocate memory` pod event, the memory limit is too low. Either increase or remove the memory limit. Removing the limit allows pods to consume unbounded node resources.
====

You can also limit resource use by specifying resource limits as part of the deployment strategy. Deployment resources can be used with the recreate, rolling, or custom deployment strategies.

.Procedure
Expand Down
3 changes: 3 additions & 0 deletions modules/nodes-cluster-resource-configure-about.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ Note the following about memory requests and memory limits:

- The cluster administrator can assign quota or assign default values for the memory limit value.

- The minimum memory limit is 12 MB. If a container fails to start due to a `Cannot allocate memory` pod event, the memory limit is too low.
Either increase or remove the memory limit. Removing the limit allows pods to consume unbounded node resources.

[id="nodes-cluster-resource-configure-about-memory_{context}"]
== Managing application memory strategy

Expand Down