public class ResourceRequirements extends Object
Constructor and Description |
---|
ResourceRequirements() |
Modifier and Type | Method and Description |
---|---|
ResourceLimits |
limits()
Get the resource limits of this container instance.
|
ResourceRequests |
requests()
Get the resource requests of this container instance.
|
ResourceRequirements |
withLimits(ResourceLimits limits)
Set the resource limits of this container instance.
|
ResourceRequirements |
withRequests(ResourceRequests requests)
Set the resource requests of this container instance.
|
public ResourceRequests requests()
public ResourceRequirements withRequests(ResourceRequests requests)
requests
- the requests value to setpublic ResourceLimits limits()
public ResourceRequirements withLimits(ResourceLimits limits)
limits
- the limits value to setCopyright © 2019. All rights reserved.