Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for podSandboxId (0.2 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/stats/cri_stats_provider.go

    			continue
    		}
    
    		podSandboxID := container.PodSandboxId
    		podSandbox, found := podSandboxMap[podSandboxID]
    		if !found {
    			continue
    		}
    
    		// Creates the stats of the pod (if not created yet) which the
    		// container belongs to.
    		ps, found := sandboxIDToPodStats[podSandboxID]
    		if !found {
    			ps = buildPodStats(podSandbox)
    			sandboxIDToPodStats[podSandboxID] = ps
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  3. 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)
  4. 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