Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for createPodSandbox (0.21 sec)

  1. pkg/kubelet/container/sync_result.go

    	SetupNetwork SyncAction = "SetupNetwork"
    	// TeardownNetwork action
    	TeardownNetwork SyncAction = "TeardownNetwork"
    	// InitContainer action
    	InitContainer SyncAction = "InitContainer"
    	// CreatePodSandbox action
    	CreatePodSandbox SyncAction = "CreatePodSandbox"
    	// ConfigPodSandbox action
    	ConfigPodSandbox SyncAction = "ConfigPodSandbox"
    	// KillPodSandbox action
    	KillPodSandbox SyncAction = "KillPodSandbox"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 19 15:48:08 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    		assert.Equal(t, filepath.Join(testPodLogsDirectory, pod.Namespace+"_"+pod.Name+"_12345678"), path)
    		assert.Equal(t, os.FileMode(0755), perm)
    		return nil
    	}
    	id, _, err := m.createPodSandbox(ctx, pod, 1)
    	assert.NoError(t, err)
    	assert.Contains(t, fakeRuntime.Called, "RunPodSandbox")
    	sandboxes, err := fakeRuntime.ListPodSandbox(ctx, &runtimeapi.PodSandboxFilter{Id: id})
    	assert.NoError(t, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_sandbox.go

    	"k8s.io/kubernetes/pkg/kubelet/util"
    	"k8s.io/kubernetes/pkg/kubelet/util/format"
    	netutils "k8s.io/utils/net"
    )
    
    // createPodSandbox creates a pod sandbox and returns (podSandBoxID, message, error).
    func (m *kubeGenericRuntimeManager) createPodSandbox(ctx context.Context, pod *v1.Pod, attempt uint32) (string, string, error) {
    	podSandboxConfig, err := m.generatePodSandboxConfig(pod, attempt)
    	if err != 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_manager.go

    	klog.V(5).InfoS("Syncing Pod", "pod", klog.KObj(pod))
    
    	createPodSandbox, attempt, sandboxID := runtimeutil.PodSandboxChanged(pod, podStatus)
    	changes := podActions{
    		KillPod:           createPodSandbox,
    		CreateSandbox:     createPodSandbox,
    		SandboxID:         sandboxID,
    		Attempt:           attempt,
    		ContainersToStart: []int{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top