- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 69 for CONTAINERID (0.34 sec)
-
pkg/kubelet/prober/prober_manager_test.go
m.readinessManager.Set(kubecontainer.ParseContainerID(probedReady.ContainerID), results.Success, &v1.Pod{}) m.readinessManager.Set(kubecontainer.ParseContainerID(probedUnready.ContainerID), results.Failure, &v1.Pod{}) m.startupManager.Set(kubecontainer.ParseContainerID(startedNoReadiness.ContainerID), results.Success, &v1.Pod{}) m.readinessManager.Set(kubecontainer.ParseContainerID(terminated.ContainerID), results.Success, &v1.Pod{}) m.UpdatePodStatus(&v1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 18.8K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
"pod", klog.KObj(pod), "containerID", containerID.String()) return } // Find the container to update. containerStatus, _, ok := findContainerStatus(&oldStatus.status, containerID.String()) if !ok { klog.InfoS("Container readiness changed for unknown container", "pod", klog.KObj(pod), "containerID", containerID.String()) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
assert.NoError(t, err) assert.Empty(t, containers) } // TestKillContainer tests killing the container in a Pod. func TestKillContainer(t *testing.T) { _, _, m, _ := createTestRuntimeManager() tests := []struct { caseName string pod *v1.Pod containerID kubecontainer.ContainerID containerName string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime.go
// actual values when invoked ContainerID kubecontainer.ContainerID Cmd []string } var _ kubecontainer.CommandRunner = &FakeContainerCommandRunner{} func (f *FakeContainerCommandRunner) RunInContainer(_ context.Context, containerID kubecontainer.ContainerID, cmd []string, timeout time.Duration) ([]byte, error) { // record invoked values f.ContainerID = containerID f.Cmd = cmd
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_logs.go
"k8s.io/cri-client/pkg/logs" "k8s.io/klog/v2" ) // ReadLogs read the container log and redirect into stdout and stderr. // Note that containerID is only needed when following the log, or else // just pass in empty string "". func (m *kubeGenericRuntimeManager) ReadLogs(ctx context.Context, path, containerID string, apiOpts *v1.PodLogOptions, stdout, stderr io.Writer) error { // Convert v1.PodLogOptions into internal log options.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 1.2K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
var podUID types.UID var containerID string for _, cgroup := range cgroups { candidatePodUID, candidateContainerID, ok := getPodUIDAndContainerIDFromCGroupPath(cgroup.GroupPath) switch { case !ok: // Cgroup did not contain a container ID. continue case containerID == "": // This is the first container ID found so far. podUID = candidatePodUID
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
pkg/kubelet/logs/container_log_manager.go
func (c *containerLogManager) Clean(ctx context.Context, containerID string) error { c.mutex.Lock() defer c.mutex.Unlock() resp, err := c.runtimeService.ContainerStatus(ctx, containerID, false) if err != nil { return fmt.Errorf("failed to get container status %q: %v", containerID, err) } if resp.GetStatus() == nil { return fmt.Errorf("container status is nil for %q", containerID) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 15K bytes - Viewed (0) -
pkg/kubelet/status/testing/mock_pod_status_provider.go
func (m *MockManager) SetContainerReadiness(podUID types.UID, containerID container.ContainerID, ready bool) { m.ctrl.T.Helper() m.ctrl.Call(m, "SetContainerReadiness", podUID, containerID, ready) } // SetContainerReadiness indicates an expected call of SetContainerReadiness. func (mr *MockManagerMockRecorder) SetContainerReadiness(podUID, containerID, ready any) *gomock.Call { mr.mock.ctrl.T.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/kubelet/container/testing/runtime_mock.go
func (m *MockRuntime) DeleteContainer(ctx context.Context, containerID container.ContainerID) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "DeleteContainer", ctx, containerID) ret0, _ := ret[0].(error) return ret0 } // DeleteContainer indicates an expected call of DeleteContainer. func (mr *MockRuntimeMockRecorder) DeleteContainer(ctx, containerID any) *gomock.Call { mr.mock.ctrl.T.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 27K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.yaml
type: typeValue containerStatuses: - allocatedResources: allocatedResourcesKey: "0" containerID: containerIDValue image: imageValue imageID: imageIDValue lastState: running: startedAt: "2001-01-01T01:01:01Z" terminated: containerID: containerIDValue exitCode: 1 finishedAt: "2006-01-01T01:01:01Z" message: messageValue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 33.2K bytes - Viewed (0)