Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for qos (0.22 sec)

  1. pkg/kubelet/apis/config/fuzzer/fuzzer.go

    	kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config"
    	kubeletconfigv1beta1 "k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1"
    	"k8s.io/kubernetes/pkg/kubelet/eviction"
    	"k8s.io/kubernetes/pkg/kubelet/qos"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    	utilpointer "k8s.io/utils/pointer"
    )
    
    // Funcs returns the fuzzer functions for the kubeletconfig apis.
    func Funcs(codecs runtimeserializer.CodecFactory) []interface{} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/doc.go

    // Package cm (abbreviation of "container manager") and its subpackages contain all the kubelet code
    // to manage containers. For example, they contain functions to configure containers' cgroups,
    // ensure containers run with the desired QoS, and allocate compute resources like cpus, memory,
    // devices...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 05 18:20:51 UTC 2023
    - 934 bytes
    - Viewed (0)
  3. pkg/proxy/apis/config/v1alpha1/defaults.go

    	kruntime "k8s.io/apimachinery/pkg/runtime"
    	kubeproxyconfigv1alpha1 "k8s.io/kube-proxy/config/v1alpha1"
    
    	logsapi "k8s.io/component-base/logs/api/v1"
    	"k8s.io/kubernetes/pkg/cluster/ports"
    	"k8s.io/kubernetes/pkg/kubelet/qos"
    	proxyutil "k8s.io/kubernetes/pkg/proxy/util"
    	netutils "k8s.io/utils/net"
    	"k8s.io/utils/ptr"
    )
    
    func addDefaultingFuncs(scheme *kruntime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/validation/validation_windows.go

    	message := "invalid configuration: %v (%v) %v is not supported on Windows"
    	allErrors := []error{}
    
    	if kc.CgroupsPerQOS {
    		allErrors = append(allErrors, fmt.Errorf(message, "CgroupsPerQOS", "--cgroups-per-qos", kc.CgroupsPerQOS))
    	}
    
    	if len(kc.EnforceNodeAllocatable) > 0 {
    		allErrors = append(allErrors, fmt.Errorf(message, "EnforceNodeAllocatable", "--enforce-node-allocatable", kc.EnforceNodeAllocatable))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/types.go

    	// Set resource config for the specified resource type on the cgroup
    	SetCgroupConfig(name CgroupName, resource v1.ResourceName, resourceConfig *ResourceConfig) error
    }
    
    // QOSContainersInfo stores the names of containers per qos
    type QOSContainersInfo struct {
    	Guaranteed CgroupName
    	BestEffort CgroupName
    	Burstable  CgroupName
    }
    
    // PodContainerManager stores and manages pod level containers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. pkg/quota/v1/evaluator/core/pods.go

    	// must make an explicit request for the resource.  this was a mistake.  it coupled
    	// validation with resource counting, but we did this before QoS was even defined.
    	// let's not make that mistake again with other resources now that QoS is defined.
    	requiredSet := quota.ToSet(required).Intersection(validationSet)
    	missingSetResourceToContainerNames := make(map[string]sets.String)
    	for i := range pod.Spec.Containers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/policy_none.go

    	return nil
    }
    
    // Assignable CPUs are the ones that can be exclusively allocated to pods that meet the exclusivity requirement
    // (ie guaranteed QoS class and integral CPU request).
    // Assignability of CPUs as a concept is only applicable in case of static policy i.e. scenarios where workloads
    // CAN get exclusive access to core(s).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/PlayPluginSmokeTest.groovy

                    testImplementation "com.google.guava:guava:17.0"
                    testImplementation "org.scalatestplus.play:scalatestplus-play_2.12:3.1.2"
                    implementation "ch.qos.logback:logback-classic:1.2.3"
                }
            """
    
            when:
            def result = runner('build')
                .expectLegacyDeprecationWarning(orgGradleUtilTypeDeprecation("VersionNumber", 7))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/helpers_linux.go

    	podutil "k8s.io/kubernetes/pkg/api/v1/pod"
    	"k8s.io/kubernetes/pkg/api/v1/resource"
    	v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
    	v1qos "k8s.io/kubernetes/pkg/apis/core/v1/helper/qos"
    	kubefeatures "k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/kubelet/cm/util"
    )
    
    const (
    	// These limits are defined in the kernel:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 11:52:28 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    		{
    			name:        "TestCase01: if requestedCPU == 0, Pod is not Guaranteed Qos",
    			pod:         testPod1,
    			expectedCPU: 0,
    		},
    		{
    			name:        "TestCase02: if requestedCPU == 0, Pod is not Guaranteed Qos",
    			pod:         testPod2,
    			expectedCPU: 0,
    		},
    		{
    			name:        "TestCase03: if requestedCPU == 0, Pod is not Guaranteed Qos",
    			pod:         testPod3,
    			expectedCPU: 0,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top