Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for qos (0.07 sec)

  1. pkg/apis/core/helper/qos/qos.go

    // When this function is updated please also update staging/src/k8s.io/kubectl/pkg/util/qos/qos.go
    func ComputePodQOS(pod *core.Pod) core.PodQOSClass {
    	requests := core.ResourceList{}
    	limits := core.ResourceList{}
    	zeroQuantity := resource.MustParse("0")
    	isGuaranteed := true
    	// note, ephemeral containers are not considered for QoS as they cannot define resources
    	allContainers := []core.Container{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/helper/qos/qos.go

    limitations under the License.
    */
    
    package qos
    
    import (
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/kubernetes/pkg/apis/core"
    )
    
    var supportedQoSComputeResources = sets.NewString(string(core.ResourceCPU), string(core.ResourceMemory))
    
    // QOSList is a set of (resource name, QoS class) pairs.
    type QOSList map[v1.ResourceName]v1.PodQOSClass
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/qos_container_manager_linux.go

    		return
    	}
    	allocatable := allocatableResource.Value()
    	if allocatable == 0 {
    		klog.V(2).InfoS("Allocatable memory reported as 0, might be in standalone mode, not setting QoS memory limits")
    		return
    	}
    
    	for qos, limits := range qosMemoryRequests {
    		klog.V(2).InfoS("QoS pod memory limit", "qos", qos, "limits", limits, "percentReserve", percentReserve)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

            super(server, new lsarpc.LsarObjectAttributes(), access, policyHandle);
            object_attributes.length = 24;
    lsarpc.LsarQosInfo qos = new lsarpc.LsarQosInfo();
    qos.length = 12;
    qos.impersonation_level = 2;
    qos.context_mode = 1;
    qos.effective_only = 0;
    object_attributes.security_quality_of_service = qos;
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

            this.object_attributes.length = 24;
            lsarpc.LsarQosInfo qos = new lsarpc.LsarQosInfo();
            qos.length = 12;
            qos.impersonation_level = 2;
            qos.context_mode = 1;
            qos.effective_only = 0;
            this.object_attributes.security_quality_of_service = qos;
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  6. maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/LogbackConfiguration.java

        public void setRootLoggerLevel(Level level) {
            ch.qos.logback.classic.Level value;
            switch (level) {
                case DEBUG:
                    value = ch.qos.logback.classic.Level.DEBUG;
                    break;
    
                case INFO:
                    value = ch.qos.logback.classic.Level.INFO;
                    break;
    
                default:
                    value = ch.qos.logback.classic.Level.ERROR;
                    break;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/pod_container_manager_linux.go

    	"k8s.io/klog/v2"
    	v1qos "k8s.io/kubernetes/pkg/apis/core/v1/helper/qos"
    	kubefeatures "k8s.io/kubernetes/pkg/features"
    )
    
    const (
    	podCgroupNamePrefix = "pod"
    )
    
    // podContainerManagerImpl implements podContainerManager interface.
    // It is the general implementation which allows pod level container
    // management if qos Cgroup is enabled.
    type podContainerManagerImpl struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 16:38:36 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    		},
    
    		// With Guaranteed and Best-effort QoS
    		{
    			name:                       "Best-effort QoS, cgroups v2, NoSwap",
    			cgroupVersion:              cgroupV2,
    			qosClass:                   v1.PodQOSBestEffort,
    			nodeSwapFeatureGateEnabled: true,
    			swapBehavior:               "NoSwap",
    		},
    		{
    			name:                       "Best-effort QoS, cgroups v2, LimitedSwap",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  9. pkg/kubelet/qos/doc.go

    // when available.
    // Best-Effort containers, which don't specify a request, can use resources only if not being used
    // by other pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 19 05:07:26 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginSubtypeParamIntegrationTest.groovy

            expect:
            succeeds "pmdMain"
        }
    
        private underAnalysisCode() {
            """
                package org.gradle.ruleusing;
    
                import ch.qos.logback.contrib.json.JsonLayoutBase;
                import ch.qos.logback.core.ConsoleAppender;
    
                public class UnderAnalysis {
                   private final ConsoleAppender<IAccessEvent> appender = null;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 07:47:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top