Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go

    		GetPreferredAllocationAvailable: m.getPreferredAllocationFlag,
    	}
    	return options, nil
    }
    
    // PreStartContainer resets the devices received
    func (m *Stub) PreStartContainer(ctx context.Context, r *pluginapi.PreStartContainerRequest) (*pluginapi.PreStartContainerResponse, error) {
    	klog.InfoS("PreStartContainer", "request", r)
    	return &pluginapi.PreStartContainerResponse{}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 11:19:10 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/manager.go

    	}
    
    	m.mutex.Unlock()
    	devs := devices.UnsortedList()
    	klog.V(4).InfoS("Issuing a PreStartContainer call for container", "containerName", contName, "podUID", podUID)
    	_, err := eI.e.preStartContainer(devs)
    	if err != nil {
    		return fmt.Errorf("device plugin PreStartContainer rpc failed with err: %v", err)
    	}
    	// TODO: Add metrics support for init RPC
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
Back to top