- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 105 for CONTAINERID (0.18 sec)
-
pkg/kubelet/container/runtime.go
ID string } // BuildContainerID returns the ContainerID given type and id. func BuildContainerID(typ, ID string) ContainerID { return ContainerID{Type: typ, ID: ID} } // ParseContainerID is a convenience method for creating a ContainerID from an ID string. func ParseContainerID(containerID string) ContainerID { var id ContainerID if err := id.ParseString(containerID); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0) -
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/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/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/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
// 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)