Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for qos (0.75 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/apis/core/v1/helper/qos/qos_test.go

    limitations under the License.
    */
    
    package qos
    
    import (
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/kubernetes/pkg/apis/core"
    	"k8s.io/kubernetes/pkg/apis/core/helper/qos"
    	corev1 "k8s.io/kubernetes/pkg/apis/core/v1"
    )
    
    func TestComputePodQOS(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 14:47:37 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. cluster/addons/metadata-proxy/gce/metadata-proxy.yaml

            resources:
              requests:
                memory: "25Mi"
                cpu: "30m"
              limits:
                memory: "25Mi"
                cpu: "30m"
          # BEGIN_PROMETHEUS_TO_SD
          - name: prometheus-to-sd-exporter
            image: gke.gcr.io/prometheus-to-sd:v0.11.1-gke.1
            # Request and limit resources to get guaranteed QoS.
            resources:
              requests:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. testing/soak/src/integTest/groovy/org/gradle/connectivity/MavenCentralDependencyResolveIntegrationTest.groovy

            }
        }
    }
    
    configurations {
        compile
    }
    
    dependencies {
        compile "ch.qos.logback:logback-classic:1.0.13"
    }
    
    task check {
        doLast {
            def compile = configurations.compile
            assert compile.resolvedConfiguration.firstLevelModuleDependencies.collect { it.name } == [
                'ch.qos.logback:logback-classic:1.0.13',
            ]
    
            assert compile.collect { it.name } == [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top