Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for BestEffort (0.21 sec)

  1. cni/pkg/nodeagent/podcgroupns_test.go

    			cgroupPaths: []string{
    				"/user.slice",
    				"/kubepods/pod2c48913c-b29f-11e7-9350-020968147796/9bca8d63d5fa610783847915bcff0ecac1273e5b4bed3f6fa1b07350e0135961",
    				"/kubepods/kubepods/besteffort/pod2c48913c-b29f-11e7-9350-020968147796/a55d9ac3b312d8a2627824b6d6dd8af66fbec439bf4e0ec22d6d9945ad337a38",
    			},
    			expectPodUID:      "",
    			expectContainerID: "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. plugin/pkg/admission/resourcequota/admission_test.go

    							},
    						},
    					},
    				},
    			},
    			expErr: "",
    		},
    		{
    			description: "Two scopes,BestEffort and PriorityClassIN, in two LimitedResources. Only BestEffort scope matches pod. Pod admit fails because covering quota is missing for BestEffort scope",
    			testPod:     validPodWithPriority("allowed-pod", 1, getResourceRequirements(getResourceList("", ""), getResourceList("", "")), "fake-priority"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/qos_container_manager_linux.go

    	}
    
    	// Create containers for both qos classes
    	for qosClass, containerName := range qosClasses {
    		resourceParameters := &ResourceConfig{}
    		// the BestEffort QoS class has a statically configured minShares value
    		if qosClass == v1.PodQOSBestEffort {
    			minShares := uint64(MinShares)
    			resourceParameters.CPUShares = &minShares
    		}
    
    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. cni/pkg/nodeagent/podcgroupns.go

    	// - /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod2c48913c-b29f-11e7-9350-020968147796.slice/docker-9bca8d63d5fa610783847915bcff0ecac1273e5b4bed3f6fa1b07350e0135961.scope
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/helpers_linux_test.go

    	guaranteedMemory := memoryQuantity.Value()
    	testCases := map[string]struct {
    		pod              *v1.Pod
    		expected         *ResourceConfig
    		enforceCPULimits bool
    		quotaPeriod      uint64 // in microseconds
    	}{
    		"besteffort": {
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							Resources: getResourceRequirements(getResourceList("", ""), getResourceList("", "")),
    						},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/defaults_test.go

    				{
    					ResourceName:  v1.ResourceMemory,
    					RestartPolicy: v1.NotRequired,
    				},
    			},
    		},
    		"No resources are specified": {
    			testContainer:        v1.Container{Name: "besteffort"},
    			expectedResizePolicy: nil,
    		},
    		"CPU and memory limits are specified with restartContainer resize policy for memory": {
    			testContainer: v1.Container{
    				Resources: v1.ResourceRequirements{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	fakeRuntimeService := apitest.NewFakeRuntimeService()
    	fakeImageService := apitest.NewFakeImageService()
    	// Only an empty machineInfo is needed here, because in unit test all containers are besteffort,
    	// data in machineInfo is not used. If burstable containers are used in unit test in the future,
    	// we may want to set memory capacity.
    	memoryCapacityQuantity := resource.MustParse(fakeNodeAllocatableMemory)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  8. pkg/apis/core/types.go

    	PodQOSGuaranteed PodQOSClass = "Guaranteed"
    	// PodQOSBurstable is the Burstable qos class.
    	PodQOSBurstable PodQOSClass = "Burstable"
    	// PodQOSBestEffort is the BestEffort qos class.
    	PodQOSBestEffort PodQOSClass = "BestEffort"
    )
    
    // PodDNSConfig defines the DNS parameters of a pod in addition to
    // those generated from DNSPolicy.
    type PodDNSConfig struct {
    	// A list of DNS name server IP addresses.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/types.go

    	PodQOSGuaranteed PodQOSClass = "Guaranteed"
    	// PodQOSBurstable is the Burstable qos class.
    	PodQOSBurstable PodQOSClass = "Burstable"
    	// PodQOSBestEffort is the BestEffort qos class.
    	PodQOSBestEffort PodQOSClass = "BestEffort"
    )
    
    // PodDNSConfig defines the DNS parameters of a pod in addition to
    // those generated from DNSPolicy.
    type PodDNSConfig struct {
    	// A list of DNS name server IP addresses.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    						ImagePullPolicy:          "Always",
    						Image:                    "foo:V2",
    					}},
    				},
    			},
    			err:  "Pod QoS is immutable",
    			test: "Pod QoS change, besteffort -> burstable",
    		}, {
    			new: core.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod"},
    				Spec: core.PodSpec{
    					Containers: []core.Container{{
    						Name:                     "container",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top