Class ServiceTemplateSpecContainerResources


  • public final class ServiceTemplateSpecContainerResources
    extends java.lang.Object
    • Method Detail

      • limits

        public java.util.Map<java.lang.String,​java.lang.String> limits()
        Returns:
        Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
      • requests

        public java.util.Map<java.lang.String,​java.lang.String> requests()
        Returns:
        Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go