Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 105 for CONTAINERID (0.14 sec)

  1. pkg/kubelet/lifecycle/handlers.go

    	}
    }
    
    func (hr *handlerRunner) Run(ctx context.Context, containerID kubecontainer.ContainerID, pod *v1.Pod, container *v1.Container, handler *v1.LifecycleHandler) (string, error) {
    	switch {
    	case handler.Exec != nil:
    		var msg string
    		// TODO(tallclair): Pass a proper timeout value.
    		output, err := hr.commandRunner.RunInContainer(ctx, containerID, handler.Exec.Command, 0)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. pkg/kubelet/pleg/evented.go

    		e.sendPodLifecycleEvent(&PodLifecycleEvent{ID: types.UID(event.PodSandboxStatus.Metadata.Uid), Type: ContainerDied, Data: event.ContainerId})
    		e.sendPodLifecycleEvent(&PodLifecycleEvent{ID: types.UID(event.PodSandboxStatus.Metadata.Uid), Type: ContainerRemoved, Data: event.ContainerId})
    		klog.V(4).InfoS("Received Container Deleted Event", "event", event)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server_test.go

    }
    
    func (f *fakeRuntime) Exec(_ context.Context, containerID string, cmd []string, stdin io.Reader, stdout, stderr io.WriteCloser, tty bool, resize <-chan remotecommand.TerminalSize) error {
    	return f.execFunc(containerID, cmd, stdin, stdout, stderr, tty, resize)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container_unsupported.go

    func (m *kubeGenericRuntimeManager) applyPlatformSpecificContainerConfig(config *runtimeapi.ContainerConfig, container *v1.Container, pod *v1.Pod, uid *int64, username string, nsTarget *kubecontainer.ContainerID) error {
    	return nil
    }
    
    // generateContainerResources generates platform specific container resources config for runtime
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods.go

    		}
    		cID = lastState.Terminated.ContainerID
    
    	case running != nil:
    		cID = cStatus.ContainerID
    
    	case terminated != nil:
    		// in cases where the next container didn't start, terminated.ContainerID will be empty, so get logs from the lastState.Terminated.
    		if terminated.ContainerID == "" {
    			if lastState.Terminated != nil && lastState.Terminated.ContainerID != "" {
    				cID = lastState.Terminated.ContainerID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  6. pkg/kubelet/pleg/evented_test.go

    		podStatuses[i] = &kubecontainer.PodStatus{
    			ID: types.UID(id),
    			SandboxStatuses: []*v1.PodSandboxStatus{
    				{Id: id},
    			},
    			ContainerStatuses: []*kubecontainer.Status{
    				{ID: kubecontainer.ContainerID{ID: id}, State: kubecontainer.ContainerStateRunning},
    			},
    		}
    
    		pleg.updateRunningPodMetric(podStatuses[i])
    		pleg.cache.Set(podStatuses[i].ID, podStatuses[i], nil, time.Now())
    
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 01 07:45:05 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. pkg/kubelet/prober/prober_manager.go

    	if containerStatus.State.Running == nil {
    		return false
    	}
    
    	if result, ok := m.startupManager.Get(kubecontainer.ParseContainerID(containerStatus.ContainerID)); ok {
    		return result == results.Success
    	}
    
    	// if there is a startup probe which hasn't run yet, the container is not
    	// started.
    	if _, exists := m.getWorker(pod.UID, containerStatus.Name, startup); exists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods_test.go

    		}
    		kubelet.runner = &fakeCommandRunner
    
    		containerID := kubecontainer.ContainerID{Type: "test", ID: "abc1234"}
    		fakeRuntime.PodList = []*containertest.FakePod{
    			{Pod: &kubecontainer.Pod{
    				ID:        "12345678",
    				Name:      "podFoo",
    				Namespace: "nsFoo",
    				Containers: []*kubecontainer.Container{
    					{Name: "containerFoo",
    						ID: containerID,
    					},
    				},
    			}},
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  9. pkg/kubelet/prober/worker_test.go

    		}
    	}
    }
    
    func expectResult(t *testing.T, w *worker, expectedResult results.Result, msg string) {
    	result, ok := resultsManager(w.probeManager, w.probeType).Get(w.containerID)
    	if !ok {
    		t.Errorf("[%s - %s] Expected result to be set, but was not set", w.probeType, msg)
    	} else if result != expectedResult {
    		t.Errorf("[%s - %s] Expected result to be %v, but was %v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  10. pkg/kubelet/stats/cadvisor_stats_provider.go

    		// to the beginning.
    		return hasMemoryAndCPUInstUsage(&a[j].cinfo)
    	}
    	return a[i].cinfo.Spec.CreationTime.Before(a[j].cinfo.Spec.CreationTime)
    }
    
    // containerID is the identity of a container in a pod.
    type containerID struct {
    	podRef        statsapi.PodReference
    	containerName string
    }
    
    // containerInfoWithCgroup contains the ContainerInfo and its cgroup name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
Back to top