- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 37 for CONTAINERID (0.14 sec)
-
pkg/kubelet/cm/topologymanager/scope.go
klog.InfoS("RemoveContainer", "containerID", containerID) // Get the podUID and containerName associated with the containerID to be removed and remove it podUIDString, containerName, err := s.podMap.GetContainerRef(containerID) if err != nil { return nil } s.podMap.RemoveByContainerID(containerID) // In cases where a container has been restarted, it's possible that the same podUID and
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 14:44:24 UTC 2023 - 5K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/fake_cpu_manager.go
return nil } func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) { klog.InfoS("AddContainer", "pod", klog.KObj(pod), "containerName", container.Name, "containerID", containerID) } func (m *fakeManager) RemoveContainer(containerID string) error { klog.InfoS("RemoveContainer", "containerID", containerID) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/core.v1.PodStatusResult.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: Wed May 29 22:40:29 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/kubelet/prober/prober.go
var err error var result probe.Result var output string for i := 0; i < retries; i++ { result, output, err = pb.runProbe(ctx, probeType, p, pod, status, container, containerID) if err == nil { return result, output, nil } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 10:50:13 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/kubelet/prober/prober_test.go
Err: test.err, } prober := &prober{ runner: runner, } container := v1.Container{} containerID := kubecontainer.ContainerID{Type: "docker", ID: "containerID"} cmd := []string{"/foo", "bar"} exec := prober.newExecInContainer(ctx, container, containerID, cmd, 0) var dataBuffer bytes.Buffer writer := ioutils.LimitWriter(&dataBuffer, int64(limit)) exec.SetStderr(writer)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:35 UTC 2023 - 9.7K bytes - Viewed (0) -
pkg/kubelet/pod_container_deletor.go
buffer := make(chan kubecontainer.ContainerID, containerDeletorBufferLimit) go wait.Until(func() { for { id := <-buffer if err := runtime.DeleteContainer(context.Background(), id); err != nil { klog.InfoS("DeleteContainer returned error", "containerID", id, "err", err) } } }, 0, wait.NeverStop) return &podContainerDeletor{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 05 13:02:13 UTC 2022 - 4K bytes - Viewed (0) -
pkg/kubelet/status/fake_status_manager.go
klog.InfoS("SetPodStatus()") return } func (m *fakeManager) SetContainerReadiness(podUID types.UID, containerID kubecontainer.ContainerID, ready bool) { klog.InfoS("SetContainerReadiness()") return } func (m *fakeManager) SetContainerStartup(podUID types.UID, containerID kubecontainer.ContainerID, started bool) { klog.InfoS("SetContainerStartup()") return } func (m *fakeManager) TerminatePod(pod *v1.Pod) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 05:59:34 UTC 2023 - 2.7K bytes - Viewed (0) -
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/prober/results/results_manager_test.go
kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" ) func TestCacheOperations(t *testing.T) { m := NewManager() unsetID := kubecontainer.ContainerID{Type: "test", ID: "unset"} setID := kubecontainer.ContainerID{Type: "test", ID: "set"} _, found := m.Get(unsetID) assert.False(t, found, "unset result found") m.Set(setID, Success, &corev1.Pod{}) result, found := m.Get(setID)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 02 10:55:41 UTC 2023 - 4K 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)