Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for podSandboxId (0.25 sec)

  1. pkg/kubelet/kuberuntime/instrumented_services.go

    func (in instrumentedRuntimeService) StopPodSandbox(ctx context.Context, podSandboxID string) error {
    	const operation = "stop_podsandbox"
    	defer recordOperation(operation, time.Now())
    
    	err := in.service.StopPodSandbox(ctx, podSandboxID)
    	recordError(operation, err)
    	return err
    }
    
    func (in instrumentedRuntimeService) RemovePodSandbox(ctx context.Context, podSandboxID string) error {
    	const operation = "remove_podsandbox"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    		}
    	}
    
    	podSandBoxID, err := m.runtimeService.RunPodSandbox(ctx, podSandboxConfig, runtimeHandler)
    	if err != nil {
    		message := fmt.Sprintf("Failed to create sandbox for pod %q: %v", format.Pod(pod), err)
    		klog.ErrorS(err, "Failed to create sandbox for pod", "pod", klog.KObj(pod))
    		return "", message, err
    	}
    
    	return podSandBoxID, "", nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    	}
    
    	sandboxes, err := cgc.manager.getKubeletSandboxes(ctx, true)
    	if err != nil {
    		return err
    	}
    
    	// collect all the PodSandboxId of container
    	sandboxIDs := sets.New[string]()
    	for _, container := range containers {
    		sandboxIDs.Insert(container.PodSandboxId)
    	}
    
    	sandboxesByPod := make(sandboxesByPodUID, len(sandboxes))
    	for _, sandbox := range sandboxes {
    		podUID := types.UID(sandbox.Metadata.Uid)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top