Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for cpumanager (0.17 sec)

  1. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    import (
    	"os"
    	"strings"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager"
    	testutil "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state/testing"
    )
    
    const testingCheckpoint = "memorymanager_checkpoint_test"
    
    // assertStateEqual marks provided test as failed if provided states differ
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/stretchr/testify/require"
    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager"
    	"k8s.io/kubernetes/pkg/kubelet/cm/containermap"
    	testutil "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state/testing"
    	"k8s.io/utils/cpuset"
    )
    
    const testingCheckpoint = "cpumanager_checkpoint_test"
    
    func TestCheckpointStateRestore(t *testing.T) {
    	testCases := []struct {
    		description       string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/cpu_assignment_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cpumanager
    
    import (
    	"reflect"
    	"sort"
    	"testing"
    
    	"k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/topology"
    	"k8s.io/utils/cpuset"
    )
    
    func TestCPUAccumulatorFreeSockets(t *testing.T) {
    	testCases := []struct {
    		description   string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 17:31:37 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/types.go

    	CgroupDriver string
    	// CPUManagerPolicy is the name of the policy to use.
    	// Requires the CPUManager feature gate to be enabled.
    	CPUManagerPolicy string
    	// CPUManagerPolicyOptions is a set of key=value which 	allows to set extra options
    	// to fine tune the behaviour of the cpu manager policies.
    	// Requires  both the "CPUManager" and "CPUManagerPolicyOptions" feature gates to be enabled.
    	CPUManagerPolicyOptions map[string]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)
  5. pkg/kubelet/cm/dra/state/state_checkpoint_test.go

    	"github.com/stretchr/testify/assert"
    
    	resourcev1alpha2 "k8s.io/api/resource/v1alpha2"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager"
    	testutil "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state/testing"
    )
    
    const testingCheckpoint = "dramanager_checkpoint_test"
    
    // assertStateEqual marks provided test as failed if provided states differ
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. hack/local-up-cluster.sh

          fi
    
          # cpumanager policy
          if [[ -n ${CPUMANAGER_POLICY} ]]; then
            echo "cpuManagerPolicy: \"${CPUMANAGER_POLICY}\""
          fi
    
          # cpumanager reconcile period
          if [[ -n ${CPUMANAGER_RECONCILE_PERIOD} ]]; then
    	echo "cpuManagerReconcilePeriod: \"${CPUMANAGER_RECONCILE_PERIOD}\""
          fi
    
          # cpumanager policy options
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cpumanager
    
    import (
    	"fmt"
    	"math"
    	"sort"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/topology"
    	"k8s.io/utils/cpuset"
    )
    
    // LoopControl controls the behavior of the cpu accumulator loop logic
    type LoopControl int
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/policy_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package cpumanager
    
    import (
    	"k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/topology"
    )
    
    var (
    	topoSingleSocketHT = &topology.CPUTopology{
    		NumCPUs:    8,
    		NumSockets: 1,
    		NumCores:   4,
    		CPUDetails: map[int]topology.CPUInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 24 20:49:58 UTC 2021
    - 40.6K bytes
    - Viewed (0)
  9. cmd/kubelet/app/server.go

    	kubeletcertificate "k8s.io/kubernetes/pkg/kubelet/certificate"
    	"k8s.io/kubernetes/pkg/kubelet/certificate/bootstrap"
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    	"k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/topology"
    	"k8s.io/kubernetes/pkg/kubelet/config"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	"k8s.io/kubernetes/pkg/kubelet/eviction"
    	evictionapi "k8s.io/kubernetes/pkg/kubelet/eviction/api"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.23.md

    - Add a new `distribute-cpus-across-numa` option to the static `CPUManager` policy. When enabled, this will trigger the `CPUManager` to evenly distribute CPUs across NUMA nodes in cases where more than one NUMA node is required to satisfy the allocation. ([#105631](https://github.com/kubernetes/kubernetes/pull/105631), [@klueska](https://github.com/klueska))...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
Back to top