- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 351 for allocable (0.27 sec)
-
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) -
pkg/kubelet/cm/memorymanager/memory_manager.go
AddContainer(p *v1.Pod, c *v1.Container, containerID string) // Allocate is called to pre-allocate memory resources during Pod admission. // This must be called at some point prior to the AddContainer() call for a container, e.g. at pod admission time. Allocate(pod *v1.Pod, container *v1.Container) error // RemoveContainer is called after Kubelet decides to kill or delete a
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 00:50:45 UTC 2023 - 17.1K bytes - Viewed (0) -
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) -
pkg/kubelet/cm/memorymanager/policy_static.go
allocatable := node.Memory - systemReserved // remove memory allocated by hugepages if allocatedByHugepages, ok := nodeHugepages[node.Id]; ok { allocatable -= allocatedByHugepages } defaultMachineState[node.Id].MemoryMap[v1.ResourceMemory] = &state.MemoryTable{ Allocatable: allocatable, Free: allocatable, Reserved: 0,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Nov 12 07:34:55 UTC 2023 - 34K bytes - Viewed (0) -
pkg/api/v1/resource/helpers.go
return "", err } return ExtractContainerResourceValue(fs, container) } // ExtractResourceValueByContainerNameAndNodeAllocatable extracts the value of a resource // by providing container name and node allocatable func ExtractResourceValueByContainerNameAndNodeAllocatable(fs *v1.ResourceFieldSelector, pod *v1.Pod, containerName string, nodeAllocatable v1.ResourceList) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 26 13:58:16 UTC 2023 - 16.3K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/cidrset/cidr_set_test.go
} } // Make sure that we can allocate exactly `numAllocatable24s` elements. for i := 0; i < numAllocatable24s; i++ { _, err := a.AllocateNext() if err != nil { t.Fatalf("Expected to be able to allocate %d CIDRS, failed after %d", numAllocatable24s, i) } } _, err = a.AllocateNext() if err == nil { t.Fatalf("Expected to be able to allocate exactly %d CIDRS, got one more", numAllocatable24s) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 11 08:53:03 UTC 2023 - 29.5K bytes - Viewed (0) -
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) -
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) -
pkg/registry/core/service/allocator/bitmap_test.go
// Allocate all possible values except the reserved for i := dynamicOffset; i < max; i++ { if ok, _ := m.Allocate(i); !ok { t.Errorf("error allocate i %v", i) } else { allocated++ } } // Allocate all the values of the reserved block except one for i := 0; i < dynamicOffset-1; i++ { if ok, _ := m.Allocate(i); !ok { t.Errorf("error allocate i %v", i)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 10 08:56:31 UTC 2022 - 13.3K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go
"", &stateMemory{}, }, { "Restore valid checkpoint", `{ "policyName":"static", "machineState":{"0":{"numberOfAssignments":0,"memoryMap":{"memory":{"total":2048,"systemReserved":512,"allocatable":1536,"reserved":512,"free":1024}},"cells":[]}}, "entries":{"pod":{"container1":[{"numaAffinity":[0],"type":"memory","size":512}]}}, "checksum": 4215593881 }`, "", &stateMemory{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 10.6K bytes - Viewed (0)