- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 765 for allocable (0.3 sec)
-
pkg/registry/core/service/ipallocator/bitmap_test.go
t.Errorf("expected %d free addresses, got %d", dynamicOffset, f) } // allocate all addresses on the static block for i := 0; i < dynamicOffset; i++ { ip := fmt.Sprintf("192.168.1.%d", i+1) if err := r.Allocate(netutils.ParseIPSloppy(ip)); err != nil { t.Errorf("Unexpected error trying to allocate IP %s: %v", ip, err) } } if f := r.Free(); f != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 20:32:40 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/registry/core/service/allocator/storage/storage.go
baseKey: baseKey, resource: config.GroupResource, destroyFn: func() { once.Do(d) }, }, nil } // Allocate attempts to allocate the item. func (e *Etcd) Allocate(offset int) (bool, error) { e.lock.Lock() defer e.lock.Unlock() err := e.tryUpdate(func() error { ok, err := e.alloc.Allocate(offset) if err != nil { return err } if !ok { return errorUnableToAllocate } return nil })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 6.5K bytes - Viewed (0) -
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) -
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) -
pkg/kubelet/cm/devicemanager/endpoint.go
AllocationSize: int32(size), }, }, }) } // allocate issues Allocate gRPC call to the device plugin. func (e *endpointImpl) allocate(devs []string) (*pluginapi.AllocateResponse, error) { if e.isStopped() { return nil, fmt.Errorf(errEndpointStopped, e) } return e.api.Allocate(context.Background(), &pluginapi.AllocateRequest{ ContainerRequests: []*pluginapi.ContainerAllocateRequest{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 02 11:05:20 UTC 2022 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/allocator.go
}, } // Allocator knows how to allocate memory // It exists to make the cost of object serialization cheaper. // In some cases, it allows for allocating memory only once and then reusing it. // This approach puts less load on GC and leads to less fragmented memory in general. type Allocator struct { buf []byte } var _ MemoryAllocator = &Allocator{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 03:17:50 UTC 2022 - 2.2K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/state/state.go
import ( v1 "k8s.io/api/core/v1" ) // MemoryTable contains memory information type MemoryTable struct { TotalMemSize uint64 `json:"total"` SystemReserved uint64 `json:"systemReserved"` Allocatable uint64 `json:"allocatable"` Reserved uint64 `json:"reserved"` Free uint64 `json:"free"` } // NUMANodeState contains NUMA node related information type NUMANodeState struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 08 23:10:00 UTC 2021 - 4.4K bytes - Viewed (0) -
pkg/volume/csi/nodeinfomanager/nodeinfomanager_test.go
NodeID: "net.example.storage/test-node", TopologyKeys: []string{"net.example.storage/rack"}, Allocatable: nil, }, { Name: "com.example.csi.driver1", NodeID: "com.example.csi/csi-node1", TopologyKeys: []string{"com.example.csi/zone"}, Allocatable: nil, }, }, }, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 17 02:02:59 UTC 2022 - 34.3K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment_test.go
1, "", cpuset.New(2), }, { "allocate 4 full cores with 3 coming from the first NUMA node (filling it up) and 1 coming from the second NUMA node", topoDualSocketHT, mustParseCPUSet(t, "0-11"), 8, "", mustParseCPUSet(t, "0,6,2,8,4,10,1,7"), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 17:31:37 UTC 2023 - 22.7K bytes - Viewed (0) -
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)