Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readCheckpoint (0.15 sec)

  1. pkg/kubelet/cm/devicemanager/manager.go

    	m.activePods = activePods
    	m.sourcesReady = sourcesReady
    	m.containerMap = initialContainers
    	m.containerRunningSet = initialContainerRunningSet
    
    	// Loads in allocatedDevices information from disk.
    	err := m.readCheckpoint()
    	if err != nil {
    		klog.InfoS("Continue after failing to read checkpoint file. Device allocation info may NOT be up-to-date", "err", err)
    	}
    
    	return m.server.Start()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/manager_test.go

    	err = testManager.writeCheckpoint()
    	as.Nil(err)
    	testManager.healthyDevices = make(map[string]sets.Set[string])
    	testManager.unhealthyDevices = make(map[string]sets.Set[string])
    	err = testManager.readCheckpoint()
    	as.Nil(err)
    	as.Equal(1, len(testManager.endpoints))
    	as.Contains(testManager.endpoints, resourceName2)
    	capacity, allocatable, removed = testManager.GetCapacity()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top