Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for BestEffort (0.28 sec)

  1. pkg/kubelet/eviction/eviction_manager.go

    		notBestEffort := v1.PodQOSBestEffort != v1qos.GetPodQOS(attrs.Pod)
    		if notBestEffort {
    			return lifecycle.PodAdmitResult{Admit: true}
    		}
    
    		// When node has memory pressure, check BestEffort Pod's toleration:
    		// admit it if tolerates memory pressure taint, fail for other tolerations, e.g. DiskPressure.
    		if corev1helpers.TolerationsTolerateTaint(attrs.Pod.Spec.Tolerations, &v1.Taint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/policy_static.go

    // conditions are met:
    //
    // - The pod QoS class is Guaranteed.
    // - The CPU request is a positive integer.
    //
    // The static policy maintains the following sets of logical CPUs:
    //
    //   - SHARED: Burstable, BestEffort, and non-integral Guaranteed containers
    //     run here. Initially this contains all CPU IDs on the system. As
    //     exclusive allocations are created and destroyed, this CPU set shrinks
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/types.go

    	// If CgroupsPerQOS is enabled, this is the root of the QoS cgroup hierarchy.
    	CgroupRoot string
    	// Enable QoS based Cgroup hierarchy: top level cgroups for QoS Classes
    	// And all Burstable and BestEffort pods are brought up under their
    	// specific top level QoS cgroup.
    	CgroupsPerQOS bool
    	// driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd)
    	CgroupDriver string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/generated/openapi/zz_generated.openapi.go

    							Type:        []string{"string"},
    							Format:      "",
    							Enum:        []interface{}{"BestEffort", "Burstable", "Guaranteed"},
    						},
    					},
    					"ephemeralContainerStatuses": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger.json

              "enum": [
                "BestEffort",
                "Burstable",
                "Guaranteed"
              ],
              "type": "string"
            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 4.5M bytes
    - Viewed (0)
Back to top