Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for podAdd (0.11 sec)

  1. pkg/controller/volume/attachdetach/attach_detach_controller.go

    func (adc *attachDetachController) GetPluginDir(podUID string) string {
    	return ""
    }
    
    func (adc *attachDetachController) GetVolumeDevicePluginDir(podUID string) string {
    	return ""
    }
    
    func (adc *attachDetachController) GetPodsDir() string {
    	return ""
    }
    
    func (adc *attachDetachController) GetPodVolumeDir(podUID types.UID, pluginName, volumeName string) string {
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. pkg/kubelet/server/server.go

    		Path("/attach")
    	ws.Route(ws.GET("/{podNamespace}/{podID}/{containerName}").
    		To(s.getAttach).
    		Operation("getAttach"))
    	ws.Route(ws.POST("/{podNamespace}/{podID}/{containerName}").
    		To(s.getAttach).
    		Operation("getAttach"))
    	ws.Route(ws.GET("/{podNamespace}/{podID}/{uid}/{containerName}").
    		To(s.getAttach).
    		Operation("getAttach"))
    	ws.Route(ws.POST("/{podNamespace}/{podID}/{uid}/{containerName}").
    		To(s.getAttach).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  3. pkg/registry/core/pod/storage/storage.go

    func (r *BindingREST) assignPod(ctx context.Context, podUID types.UID, podResourceVersion, podID string, machine string, annotations map[string]string, dryRun bool) (err error) {
    	if _, err = r.setPodHostAndAnnotations(ctx, podUID, podResourceVersion, podID, machine, annotations, dryRun); err != nil {
    		err = storeerr.InterpretGetError(err, api.Resource("pods"), podID)
    		err = storeerr.InterpretUpdateError(err, api.Resource("pods"), podID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  4. pkg/kubelet/pleg/evented.go

    			} else {
    				klog.ErrorS(err, "Evented PLEG: error generating pod status from the received event", "podUID", podID)
    			}
    		} else {
    			if klogV := klog.V(6); klogV.Enabled() {
    				klogV.InfoS("Evented PLEG: Generated pod status from the received event", "podUID", podID, "podStatus", status)
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    )
    
    func TestGetContainerDevices(t *testing.T) {
    	podDevices := newPodDevices()
    	resourceName1 := "domain1.com/resource1"
    	podID := "pod1"
    	contID := "con1"
    	devices := checkpoint.DevicesPerNUMA{0: []string{"dev1"}, 1: []string{"dev1"}}
    
    	podDevices.insert(podID, contID, resourceName1,
    		devices,
    		newContainerAllocateResponse(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. pkg/kubelet/pleg/generic.go

    	return true, nil
    }
    
    func generateEvents(podID types.UID, cid string, oldState, newState plegContainerState) []*PodLifecycleEvent {
    	if newState == oldState {
    		return nil
    	}
    
    	klog.V(4).InfoS("GenericPLEG", "podUID", podID, "containerID", cid, "oldState", oldState, "newState", newState)
    	switch newState {
    	case plegContainerRunning:
    		return []*PodLifecycleEvent{{ID: podID, Type: ContainerStarted, Data: cid}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/pod_devices.go

    func (pdev *podDevices) containerDevices(podUID, contName, resource string) sets.Set[string] {
    	pdev.RLock()
    	defer pdev.RUnlock()
    	if _, podExists := pdev.devs[podUID]; !podExists {
    		return nil
    	}
    	if _, contExists := pdev.devs[podUID][contName]; !contExists {
    		return nil
    	}
    	devs, resourceExists := pdev.devs[podUID][contName][resource]
    	if !resourceExists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. pkg/kubelet/status/testing/mock_pod_status_provider.go

    func (m *MockPodStartupLatencyStateHelper) DeletePodStartupState(podUID types.UID) {
    	m.ctrl.T.Helper()
    	m.ctrl.Call(m, "DeletePodStartupState", podUID)
    }
    
    // DeletePodStartupState indicates an expected call of DeletePodStartupState.
    func (mr *MockPodStartupLatencyStateHelperMockRecorder) DeletePodStartupState(podUID any) *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. pkg/kubelet/userns/userns_manager.go

    		return err
    	}
    
    	for _, podUID := range found {
    		allFound.Insert(string(podUID))
    	}
    
    	// Lets remove all the pods "found" that are not known.
    	for _, podUID := range found {
    		if allPods.Has(string(podUID)) {
    			continue
    		}
    
    		klog.V(5).InfoS("Clean up orphaned pod user namespace possible allocation", "podUID", podUID)
    		m.releaseWithLock(podUID)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. pkg/volume/fc/fc.go

    	}
    	mapper.MetricsProvider = volume.NewMetricsBlock(filepath.Join(blockPath, string(podUID)))
    
    	return mapper, nil
    }
    
    func (plugin *fcPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	// Inject real implementations here, test through the internal function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top