- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 283 for containerId (0.18 sec)
-
pkg/kubelet/kuberuntime/legacy.go
) // legacyLogSymlink composes the legacy container log path. It is only used for legacy cluster // logging support. func legacyLogSymlink(containerID string, containerName, podName, podNamespace string) string { return logSymlink(legacyContainerLogsDir, kubecontainer.BuildPodFullName(podName, podNamespace), containerName, containerID) } // getContainerIDFromLegacyLogSymlink returns error if container Id cannot be parsed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 16:05:48 UTC 2022 - 2.7K bytes - Viewed (0) -
pkg/kubelet/container/testing/fake_runtime.go
pod.Spec.Containers = append(pod.Spec.Containers, container) for _, c := range pod.Spec.Containers { if c.Name == container.Name { // Container already in the pod. return f.Err } } pod.Spec.Containers = append(pod.Spec.Containers, container) return f.Err } func (f *FakeRuntime) KillContainerInPod(container v1.Container, pod *v1.Pod) error { f.Lock()
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
v1 "k8s.io/api/core/v1" "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 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 1.2K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/memory_manager.go
func (m *manager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) { m.Lock() defer m.Unlock() m.containerMap.Add(string(pod.UID), container.Name, containerID) // Since we know that each init container always runs to completion before // the next container starts, we can safely remove references to any previously // started init containers. This will free up the memory from these init containers
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 00:50:45 UTC 2023 - 17.1K 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
defer c.mutex.Unlock() klog.V(4).InfoS("Starting container log rotation sequence") // TODO(#59998): Use kubelet pod cache. containers, err := c.runtimeService.ListContainers(ctx, &runtimeapi.ContainerFilter{}) if err != nil { return fmt.Errorf("failed to list containers: %v", err) } for _, container := range containers { // Only rotate logs for running containers. Non-running containers won't
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) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/containers/GradleContainer.groovy
throw new IllegalStateException("execInContainer can only be used while the Container is running"); } def containerId = containerInfo.id def dockerClient = DockerClientFactory.instance().client() dockerClient.execCreateCmd(containerId).withCmd(command) def execCreateCmdResponse = dockerClient .execCreateCmd(containerId) .withAttachStdout(true) .withAttachStderr(true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.3K 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)