-
Notifications
You must be signed in to change notification settings - Fork 1
ResourceRequirements
Gregory Nickonov edited this page Mar 12, 2019
·
2 revisions
R.deployment :backend do
container do
resources.limits.memory = '2Gi'
end
end
Property | Kubernetes property | Type |
---|---|---|
limits | limits | ResourceRequirementsSet |
requests | requests | ResourceRequirementsSet |
Property | Kubernetes property | Type |
---|---|---|
cpu | cpu | Numeric or String |
memory | memory | Numeric or String |
storage | storage | Numeric or String |
ephemeral_storage | ephemeral-storage | Numeric or String |
Gets or sets a value for the extended resource with the given name:
container do
# Set the value of extended resource example.org/foo to 0.5
resources.requests.extended_resource 'example.org/foo', 0.5
end