- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 210 for resourcesList (0.16 sec)
-
staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcequotastatus.go
// ResourceQuotaStatusApplyConfiguration represents an declarative configuration of the ResourceQuotaStatus type for use // with apply. type ResourceQuotaStatusApplyConfiguration struct { Hard *v1.ResourceList `json:"hard,omitempty"` Used *v1.ResourceList `json:"used,omitempty"` } // ResourceQuotaStatusApplyConfiguration constructs an declarative configuration of the ResourceQuotaStatus type for use with // apply.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 2K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/memory_manager_test.go
v1.ResourceList{v1.ResourceMemory: *resource.NewQuantity(17, resource.DecimalSI)}, machineInfo, []kubeletconfig.MemoryReservation{ { NumaNode: 0, Limits: v1.ResourceList{ v1.ResourceMemory: *resource.NewQuantity(12, resource.DecimalSI), }, }, { NumaNode: 2, Limits: v1.ResourceList{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 05 13:01:40 UTC 2023 - 70.2K bytes - Viewed (0) -
pkg/kubelet/cm/node_container_manager_linux.go
// Returns a ResourceList. func (cm *containerManagerImpl) GetNodeAllocatableAbsolute() v1.ResourceList { return cm.getNodeAllocatableAbsoluteImpl(cm.capacity) } func (cm *containerManagerImpl) getNodeAllocatableAbsoluteImpl(capacity v1.ResourceList) v1.ResourceList { result := make(v1.ResourceList) for k, v := range capacity { value := v.DeepCopy()
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/cm/helpers.go
) // hardEvictionReservation returns a resourcelist that includes reservation of resources based on hard eviction thresholds. func hardEvictionReservation(thresholds []evictionapi.Threshold, capacity v1.ResourceList) v1.ResourceList { if len(thresholds) == 0 { return nil } ret := v1.ResourceList{} for _, threshold := range thresholds { if threshold.Operator != evictionapi.OpLessThan {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/resourcerequirements.go
// with apply. type ResourceRequirementsApplyConfiguration struct { Limits *v1.ResourceList `json:"limits,omitempty"` Requests *v1.ResourceList `json:"requests,omitempty"` Claims []ResourceClaimApplyConfiguration `json:"claims,omitempty"` }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:22:42 UTC 2022 - 2.7K bytes - Viewed (0) -
pkg/kubelet/cadvisor/util.go
CrioSocketSuffix = "run/crio/crio.sock" ) // CapacityFromMachineInfo returns the capacity of the resources from the machine info. func CapacityFromMachineInfo(info *cadvisorapi.MachineInfo) v1.ResourceList { c := v1.ResourceList{ v1.ResourceCPU: *resource.NewMilliQuantity( int64(info.NumCores*1000), resource.DecimalSI), v1.ResourceMemory: *resource.NewQuantity( int64(info.MemoryCapacity), resource.BinarySI),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 04 05:08:20 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager.go
GetNodeAllocatableReservation() v1.ResourceList // GetCapacity returns the amount of compute resources tracked by container manager available on the node. GetCapacity(localStorageCapacityIsolation bool) v1.ResourceList // GetDevicePluginResourceCapacity returns the node capacity (amount of total device plugin resources),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:13 UTC 2024 - 9K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters_test.go
} capacityFunc := func(localStorageCapacityIsolation bool) v1.ResourceList { return tc.capacity } devicePluginResourceCapacityFunc := func() (v1.ResourceList, v1.ResourceList, []string) { c := tc.devicePluginResourceCapacity return c.capacity, c.allocatable, c.inactive } nodeAllocatableReservationFunc := func() v1.ResourceList { return tc.nodeAllocatableReservation }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 21:47:24 UTC 2024 - 76.1K bytes - Viewed (0) -
pkg/util/flag/flags_test.go
{ NumaNode: 0, Limits: v1.ResourceList{ v1.ResourceMemory: memory1Gi, }, }, }, }, { desc: "valid input with multiple memory types", argc: "blah --reserved-memory=0:memory=1Gi,hugepages-1Gi=1Gi", expectVal: []kubeletconfig.MemoryReservation{ { NumaNode: 0, Limits: v1.ResourceList{ v1.ResourceMemory: memory1Gi,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 14 10:45:23 UTC 2021 - 8.8K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
expectedAllocatable: nil, }} copyResourceList := func(rl v1.ResourceList) v1.ResourceList { if rl == nil { return nil } copy := make(v1.ResourceList, len(rl)) for k, v := range rl { copy[k] = v.DeepCopy() } return copy } resourceListsEqual := func(a v1.ResourceList, b v1.ResourceList) bool { if len(a) != len(b) { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0)