Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CPUManagerPolicyAlphaOptions (0.44 sec)

  1. pkg/kubelet/cm/cpumanager/policy_options_test.go

    			featureGate:       pkgfeatures.CPUManagerPolicyBetaOptions,
    			featureGateEnable: false,
    			expectedAvailable: false,
    		},
    		{
    			option:            AlignBySocketOption,
    			featureGate:       pkgfeatures.CPUManagerPolicyAlphaOptions,
    			featureGateEnable: true,
    			expectedAvailable: true,
    		},
    		{
    			option:            AlignBySocketOption,
    			featureGate:       pkgfeatures.CPUManagerPolicyBetaOptions,
    			featureGateEnable: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/policy_options.go

    		return fmt.Errorf("unknown CPU Manager Policy option: %q", option)
    	}
    
    	if alphaOptions.Has(option) && !utilfeature.DefaultFeatureGate.Enabled(kubefeatures.CPUManagerPolicyAlphaOptions) {
    		return fmt.Errorf("CPU Manager Policy Alpha-level Options not enabled, but option %q provided", option)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. pkg/features/kube_features.go

    	// - will never graduate to beta or stable.
    	// See https://groups.google.com/g/kubernetes-sig-architecture/c/Nxsc7pfe5rw/m/vF2djJh0BAAJ
    	// for details about the removal of this feature gate.
    	CPUManagerPolicyAlphaOptions featuregate.Feature = "CPUManagerPolicyAlphaOptions"
    
    	// owner: @fromanirh
    	// beta: v1.23
    	// beta: see below.
    	//
    	// Allow fine-tuning of cpumanager policies, experimental, beta-quality options
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    			},
    		},
    	}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.description, func(t *testing.T) {
    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, pkgfeatures.CPUManagerPolicyAlphaOptions, true)
    
    			var activePods []*v1.Pod
    			for p := range testCase.assignments {
    				pod := v1.Pod{}
    				pod.UID = types.UID(p)
    				for c := range testCase.assignments[p] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/policy_static_test.go

    		}
    	}
    }
    
    func runStaticPolicyTestCaseWithFeatureGate(t *testing.T, testCase staticPolicyTest) {
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, pkgfeatures.CPUManagerPolicyAlphaOptions, true)
    	runStaticPolicyTestCase(t, testCase)
    }
    
    func TestStaticPolicyReuseCPUs(t *testing.T) {
    	testCases := []struct {
    		staticPolicyTest
    		expCSetAfterAlloc  cpuset.CPUSet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
Back to top