Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for allocable (0.28 sec)

  1. src/debug/elf/file.go

    		s.Size = binary.BigEndian.Uint64(b[4:12])
    		zrd = zlib.NewReader
    
    	} else if s.Flags&SHF_ALLOC != 0 {
    		return errorReader{&FormatError{int64(s.Offset),
    			"SHF_COMPRESSED applies only to non-allocable sections", s.compressionType}}
    	}
    
    	switch s.compressionType {
    	case COMPRESS_ZLIB:
    		zrd = zlib.NewReader
    	case COMPRESS_ZSTD:
    		zrd = func(r io.Reader) (io.ReadCloser, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/manager.go

    // without a prior Start.
    func (m *ManagerImpl) Stop() error {
    	return m.server.Stop()
    }
    
    // Allocate is the call that you can use to allocate a set of devices
    // from the registered device plugins.
    func (m *ManagerImpl) Allocate(pod *v1.Pod, container *v1.Container) error {
    	// The pod is during the admission phase. We need to save the pod to avoid it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/node_container_manager_linux.go

    )
    
    // createNodeAllocatableCgroups creates Node Allocatable Cgroup when CgroupsPerQOS flag is specified as true
    func (cm *containerManagerImpl) createNodeAllocatableCgroups() error {
    	nodeAllocatable := cm.internalCapacity
    	// Use Node Allocatable limits instead of capacity if the user requested enforcing node allocatable.
    	nc := cm.NodeConfig.NodeAllocatableConfig
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. pkg/kubelet/lifecycle/predicate_test.go

    						Requests: requests,
    						Limits:   limits,
    					},
    				},
    			},
    		},
    	}
    }
    
    func makeTestNode(allocatable v1.ResourceList) *v1.Node {
    	return &v1.Node{
    		Status: v1.NodeStatus{
    			Allocatable: allocatable,
    		},
    	}
    }
    
    var (
    	extendedResourceA = v1.ResourceName("example.com/aaa")
    	hugePageResourceA = v1helper.HugePageResourceName(resource.MustParse("2Mi"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/types.go

    	KubeReservedCgroup string
    	// This flag specifies the various Node Allocatable enforcements that Kubelet needs to perform.
    	// This flag accepts a list of options. Acceptable options are `pods`, `system-reserved` & `kube-reserved`.
    	// Refer to [Node Allocatable](https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/#node-allocatable) doc for more information.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. pkg/registry/core/service/portallocator/allocator_test.go

    	if err := r.Release(released); err != nil {
    		t.Fatal(err)
    	}
    
    	err = r.Allocate(1)
    	if _, ok := err.(*ErrNotInRange); !ok {
    		t.Fatal(err)
    	}
    
    	if err := r.Allocate(10001); err != ErrAllocated {
    		t.Fatal(err)
    	}
    
    	err = r.Allocate(20000)
    	if _, ok := err.(*ErrNotInRange); !ok {
    		t.Fatal(err)
    	}
    
    	err = r.Allocate(10201)
    	if _, ok := err.(*ErrNotInRange); !ok {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val address = factory.newHttpsAddress()
        proxySelector.proxies.add(proxyA)
        proxySelector.proxies.add(proxyB)
        var routeSelector = newRouteSelector(address)
        dns[PROXY_A_HOST] = dns.allocate(1)
        dns[PROXY_B_HOST] = dns.allocate(1)
    
        // Mark the ProxyA route as failed.
        val selection = routeSelector.next()
        dns.assertRequests(PROXY_A_HOST)
        val route = selection.next()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // seLinux is the strategy that will dictate the allowable labels that may be set.
      optional SELinuxStrategyOptions seLinux = 10;
    
      // runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.
      optional RunAsUserStrategyOptions runAsUser = 11;
    
      // RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/types.go

    	// many zero-request pods onto one node.
    	NonZeroRequested *Resource
    	// We store allocatedResources (which is Node.Status.Allocatable.*) explicitly
    	// as int64, to avoid conversions and accessing map.
    	Allocatable *Resource
    
    	// ImageStates holds the entry of an image if and only if this image is on the node. The entry can be used for
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/container_manager_linux.go

    		}
    		klog.InfoS("Container manager verified user specified cgroup-root exists", "cgroupRoot", cgroupRoot)
    		// Include the top level cgroup for enforcing node allocatable into cgroup-root.
    		// This way, all sub modules can avoid having to understand the concept of node allocatable.
    		cgroupRoot = NewCgroupName(cgroupRoot, defaultNodeAllocatableCgroupName)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top