Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for allocable (0.19 sec)

  1. pkg/kubelet/cm/memorymanager/policy_static_test.go

    					MemoryMap: map[v1.ResourceName]*state.MemoryTable{
    						v1.ResourceMemory: {
    							Allocatable:    1536 * mb,
    							Free:           1536 * mb,
    							Reserved:       0,
    							SystemReserved: 512 * mb,
    							TotalMemSize:   3 * gb,
    						},
    						hugepages1Gi: {
    							Allocatable:    gb,
    							Free:           gb,
    							Reserved:       0,
    							SystemReserved: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_node_status_test.go

    	assert.NoError(t, err)
    	assert.True(t, apiequality.Semantic.DeepEqual(expectedNode.Status.Allocatable, updatedNode.Status.Allocatable), "%s", cmp.Diff(expectedNode.Status.Allocatable, updatedNode.Status.Allocatable))
    }
    
    func TestUpdateDefaultLabels(t *testing.T) {
    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    	defer testKubelet.Cleanup()
    	kl := testKubelet.kubelet
    
    	kl.nodeLister = testNodeLister{nodes: []*v1.Node{
    		{
    			ObjectMeta: metav1.ObjectMeta{Name: string(kl.nodeName)},
    			Status: v1.NodeStatus{
    				Allocatable: v1.ResourceList{
    					v1.ResourcePods: *resource.NewQuantity(110, resource.DecimalSI),
    				},
    			},
    		},
    	}}
    
    	recorder := record.NewFakeRecorder(20)
    	nodeRef := &v1.ObjectReference{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  4. pkg/controller/daemon/daemon_controller_test.go

    	if err != nil {
    		t.Fatalf("error creating DaemonSets controller: %v", err)
    	}
    	node1 := newNode("not-enough-resource", nil)
    	node1.Status.Allocatable = allocatableResources("10M", "20m")
    	node2 := newNode("enough-resource", simpleNodeLabel)
    	node2.Status.Allocatable = allocatableResources("100M", "200m")
    	err = manager.nodeStore.Add(node1)
    	if err != nil {
    		t.Fatal(err)
    	}
    	err = manager.nodeStore.Add(node2)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.Allocatable == nil {
    				m.Allocatable = &VolumeNodeResources{}
    			}
    			if err := m.Allocatable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 133.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/storage/v1beta1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.Allocatable == nil {
    				m.Allocatable = &VolumeNodeResources{}
    			}
    			if err := m.Allocatable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 133.9K bytes
    - Viewed (0)
  7. src/runtime/proc.go

    			// helpers on arm < 7. See
    			// internal/runtime/atomic/sys_linux_arm.s.
    			cpuprof.lostAtomic++
    			return
    		}
    	}
    
    	// Profiling runs concurrently with GC, so it must not allocate.
    	// Set a trap in case the code does allocate.
    	// Note that on windows, one thread takes profiles of all the
    	// other threads, so mp is usually not getg().m.
    	// In fact mp may not even be stopped.
    	// See golang.org/issue/17165.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/helpers_test.go

    				},
    				{
    					Signal: evictionapi.SignalNodeFsAvailable,
    				},
    				{
    					Signal: evictionapi.SignalPIDAvailable,
    				},
    			},
    		},
    		{
    			name: "allocatable memory first",
    			thresholds: []evictionapi.Threshold{
    				{
    					Signal: evictionapi.SignalNodeFsAvailable,
    				},
    				{
    					Signal: evictionapi.SignalPIDAvailable,
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure-helper.sh

        params+=("--concurrent-service-syncs=${CONCURRENT_SERVICE_SYNCS}")
      fi
      if [[ "${NETWORK_PROVIDER:-}" == "kubenet" ]]; then
        params+=("--allocate-node-cidrs=true")
      elif [[ -n "${ALLOCATE_NODE_CIDRS:-}" ]]; then
        params+=("--allocate-node-cidrs=${ALLOCATE_NODE_CIDRS}")
      fi
      if [[ -n "${TERMINATED_POD_GC_THRESHOLD:-}" ]]; then
        params+=("--terminated-pod-gc-threshold=${TERMINATED_POD_GC_THRESHOLD}")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

            },
            "stdin": {
              "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.",
              "type": "boolean"
            },
            "stdinOnce": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
Back to top