- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isRestartableInitContainer (0.25 sec)
-
pkg/kubelet/status/status_manager.go
return false } containerStatus := pod.Status.InitContainerStatuses[l-1] if kubetypes.IsRestartableInitContainer(&container) { if containerStatus.State.Running != nil && containerStatus.Started != nil && *containerStatus.Started { return true } } else { // regular init container
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager.go
if container.Name == initContainer.Name { if err := m.allocateContainerResources(pod, container, m.devicesToReuse[string(pod.UID)]); err != nil { return err } if !types.IsRestartableInitContainer(&initContainer) { m.podDevices.addContainerAllocatedResources(string(pod.UID), container.Name, m.devicesToReuse[string(pod.UID)]) } else { // If the init container is restartable, we need to keep the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 43K bytes - Viewed (0)