- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 117 for CONTAINERID (0.26 sec)
-
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) -
pkg/kubelet/cm/memorymanager/memory_manager.go
func (m *manager) RemoveContainer(containerID string) error { m.Lock() defer m.Unlock() // if error appears it means container entry already does not exist under the container map podUID, containerName, err := m.containerMap.GetContainerRef(containerID) if err != nil { klog.InfoS("Failed to get container from container map", "containerID", containerID, "err", err) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 00:50:45 UTC 2023 - 17.1K 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) -
pkg/kubelet/cm/topologymanager/fake_topology_manager_test.go
} } func TestFakeRemoveContainer(t *testing.T) { testCases := []struct { name string containerID string podUID string }{ { name: "Case1", containerID: "nginx", podUID: "0aafa4c4-38e8-11e9-bcb1-a4bf01040474", }, { name: "Case2", containerID: "Busy_Box", podUID: "b3ee37fc-39a5-11e9-bcb1-a4bf01040474", }, } fm := fakeManager{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 10 11:44:15 UTC 2021 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/containerstateterminated.go
Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` StartedAt *v1.Time `json:"startedAt,omitempty"` FinishedAt *v1.Time `json:"finishedAt,omitempty"` ContainerID *string `json:"containerID,omitempty"` } // ContainerStateTerminatedApplyConfiguration constructs an declarative configuration of the ContainerStateTerminated type for use with // apply.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 4.5K 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)