Class CpuManager
java.lang.Object
com.exoscale.sdk.model.CpuManager
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class CpuManager
extends Object
CPU manager (kubelet settings)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCPU management policy used by the kubelet.static enumGets or Sets policyOptions -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPolicyOptionsItem(CpuManager.PolicyOptionsEnum policyOptionsItem) booleanReturn true if this cpu-manager object is equal to o.CPU management policy used by the kubelet.CPU manager policy options used by the kubelet.CPU manager reconcile period used by the kubelet, as a duration string (for example \"10s\").inthashCode()policy(CpuManager.PolicyEnum policy) policyOptions(Set<CpuManager.PolicyOptionsEnum> policyOptions) reconcilePeriod(String reconcilePeriod) voidsetPolicy(CpuManager.PolicyEnum policy) voidsetPolicyOptions(Set<CpuManager.PolicyOptionsEnum> policyOptions) voidsetReconcilePeriod(String reconcilePeriod) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_POLICY
- See Also:
-
JSON_PROPERTY_POLICY_OPTIONS
- See Also:
-
JSON_PROPERTY_RECONCILE_PERIOD
- See Also:
-
-
Constructor Details
-
CpuManager
public CpuManager()
-
-
Method Details
-
policy
-
getPolicy
CPU management policy used by the kubelet. The \"static\" policy grants exclusive CPUs to Guaranteed pods requesting integer CPU limits. When set to \"static\", a cpu value must be set in the Nodepool kube-reserved or system-reserved- Returns:
- policy
-
setPolicy
-
policyOptions
-
addPolicyOptionsItem
-
getPolicyOptions
CPU manager policy options used by the kubelet. They refine the behavior of the \"static\" policy and are only valid when the policy is \"static\"- Returns:
- policyOptions
-
setPolicyOptions
-
reconcilePeriod
-
getReconcilePeriod
CPU manager reconcile period used by the kubelet, as a duration string (for example \"10s\").- Returns:
- reconcilePeriod
-
setReconcilePeriod
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-