Package kubevirt.io
Class V1ResourceRequirements
java.lang.Object
kubevirt.io.V1ResourceRequirements
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1ResourceRequirements
extends Object
V1ResourceRequirements
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanLimits describes the maximum amount of compute resources allowed.Requests is a description of the initial vmi resources.inthashCode()Don't ask the scheduler to take the guest-management overhead into account.overcommitGuestOverhead(Boolean overcommitGuestOverhead) putLimitsItem(String key, String limitsItem) putRequestsItem(String key, String requestsItem) voidvoidsetOvercommitGuestOverhead(Boolean overcommitGuestOverhead) voidsetRequests(Map<String, String> requests) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
limits
-
overcommitGuestOverhead
-
requests
-
-
Constructor Details
-
V1ResourceRequirements
public V1ResourceRequirements()
-
-
Method Details
-
limits
-
putLimitsItem
-
getLimits
Limits describes the maximum amount of compute resources allowed. Valid resource keys are \"memory\" and \"cpu\". +optional- Returns:
- limits
-
setLimits
-
overcommitGuestOverhead
-
isOvercommitGuestOverhead
Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false.- Returns:
- overcommitGuestOverhead
-
setOvercommitGuestOverhead
-
requests
-
getRequests
Requests is a description of the initial vmi resources. Valid resource keys are \"memory\" and \"cpu\". +optional- Returns:
- requests
-
setRequests
-
putRequestsItem
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-