Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for podSandboxId (0.16 sec)

  1. cmd/kubeadm/app/util/runtime/impl.go

    	return runtimeService.StopPodSandbox(ctx, sandboxID)
    }
    
    func (*defaultImpl) RemovePodSandbox(ctx context.Context, runtimeService criapi.RuntimeService, podSandboxID string) error {
    	return runtimeService.RemovePodSandbox(ctx, podSandboxID)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.5K 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_manager.go

    			return
    		}
    		klog.V(4).InfoS("Created PodSandbox for pod", "podSandboxID", podSandboxID, "pod", klog.KObj(pod))
    
    		resp, err := m.runtimeService.PodSandboxStatus(ctx, podSandboxID, false)
    		if err != nil {
    			ref, referr := ref.GetReference(legacyscheme.Scheme, pod)
    			if referr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K 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)
  5. pkg/kubelet/server/server_test.go

    	return f.attachFunc(containerID, stdin, stdout, stderr, tty, resize)
    }
    
    func (f *fakeRuntime) PortForward(_ context.Context, podSandboxID string, port int32, stream io.ReadWriteCloser) error {
    	return f.portForwardFunc(podSandboxID, port, stream)
    }
    
    type testStreamingServer struct {
    	streaming.Server
    	fakeRuntime    *fakeRuntime
    	testHTTPServer *httptest.Server
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	assert.NoError(t, err, "generatePodSandboxConfig for sandbox template %+v", template)
    
    	podSandboxID := apitest.BuildSandboxName(config.Metadata)
    	podSandBoxStatus := &apitest.FakePodSandbox{
    		PodSandboxStatus: runtimeapi.PodSandboxStatus{
    			Id:        podSandboxID,
    			Metadata:  config.Metadata,
    			State:     template.state,
    			CreatedAt: template.createdAt,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container.go

    // * pull the image
    // * create the container
    // * start the container
    // * run the post start lifecycle hooks (if applicable)
    func (m *kubeGenericRuntimeManager) startContainer(ctx context.Context, podSandboxID string, podSandboxConfig *runtimeapi.PodSandboxConfig, spec *startSpec, pod *v1.Pod, podStatus *kubecontainer.PodStatus, pullSecrets []v1.Secret, podIP string, podIPs []string) (string, error) {
    	container := spec.container
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
Back to top