- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 765 for allocable (1.99 sec)
-
pkg/kubelet/cm/memorymanager/policy.go
// Type defines the policy type type policyType string // Policy implements logic for pod container to a memory assignment. type Policy interface { Name() string Start(s state.State) error // Allocate call is idempotent Allocate(s state.State, pod *v1.Pod, container *v1.Container) error // RemoveContainer call is idempotent RemoveContainer(s state.State, podUID string, containerName string)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 05 17:52:25 UTC 2021 - 1.8K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy_none.go
func NewPolicyNone() Policy { return &none{} } func (p *none) Name() string { return string(policyTypeNone) } func (p *none) Start(s state.State) error { return nil } // Allocate call is idempotent func (p *none) Allocate(s state.State, pod *v1.Pod, container *v1.Container) error { return nil } // RemoveContainer call is idempotent func (p *none) RemoveContainer(s state.State, podUID string, containerName string) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 05 17:52:25 UTC 2021 - 2.2K 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) -
releasenotes/notes/auto-allocate-dns.yaml
John Howard <******@****.***> 1607394502 -0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 08 02:28:22 UTC 2020 - 325 bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/fake_cpu_manager.go
klog.InfoS("Start()") return nil } func (m *fakeManager) Policy() Policy { klog.InfoS("Policy()") pol, _ := NewNonePolicy(nil) return pol } func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error { klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name) return nil } func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 2.9K bytes - Viewed (0) -
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) -
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/kubelet/cm/devicemanager/types.go
// Allocate configures and assigns devices to a container in a pod. From // the requested device resources, Allocate will communicate with the // owning device plugin to allow setup procedures to take place, and for // the device plugin to provide runtime settings to use the device // (environment variables, mount points and device files). Allocate(pod *v1.Pod, container *v1.Container) error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 5K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager.go
GetCapacity(localStorageCapacityIsolation bool) v1.ResourceList // GetDevicePluginResourceCapacity returns the node capacity (amount of total device plugin resources), // node allocatable (amount of total healthy resources reported by device plugin), // and inactive device plugin resources previously registered on the node. GetDevicePluginResourceCapacity() (v1.ResourceList, v1.ResourceList, []string)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:13 UTC 2024 - 9K 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)