- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for containerStatus (0.2 sec)
-
pkg/kubelet/stats/cri_stats_provider_test.go
assert.Equal(imageFsUsage.Timestamp, containerStats.Time.UnixNano()) assert.Equal(imageFsInfo.Available, *containerStats.AvailableBytes) assert.Equal(imageFsInfo.Capacity, *containerStats.CapacityBytes) assert.Equal(imageFsInfo.InodesFree, containerStats.InodesFree) assert.Equal(imageFsInfo.Inodes, containerStats.Inodes) assert.Equal(imageFsUsage.UsedBytes.Value, *containerStats.UsedBytes)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 54.5K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
pod := v1.Pod{ Spec: v1.PodSpec{}, } containerStatus := []v1.ContainerStatus{} for i := 0; i < 10; i++ { s := v1.ContainerStatus{ Name: fmt.Sprintf("container%d", i), } containerStatus = append(containerStatus, s) } podStatus := v1.PodStatus{ ContainerStatuses: containerStatus, } for i := 0; i < 10; i++ { oldPodStatus := v1.PodStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
// If the pod UID changes, we will not be able to find the containerStatus to compare against. func containerChanged(container *v1.Container, containerStatus *kubecontainer.Status) (uint64, uint64, bool) { expectedHash := kubecontainer.HashContainer(container) return expectedHash, containerStatus.Hash, containerStatus.Hash != expectedHash }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
func containerReady(pod *corev1.Pod, containerName string) (bool, error) { for _, containerStatus := range pod.Status.ContainerStatuses { if containerStatus.Name == containerName { return containerStatus.Ready, nil } } for _, containerStatus := range pod.Status.InitContainerStatuses { if containerStatus.Name == containerName { return containerStatus.Ready, nil } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 50.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container.go
return msg, err } // Step 2: create the container. // For a new container, the RestartCount should be 0 restartCount := 0 containerStatus := podStatus.FindContainerStatusByName(container.Name) if containerStatus != nil { restartCount = containerStatus.RestartCount + 1 } else { // The container runtime keeps state on container statuses and // what the container restart count is. When nodes are rebooted
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager_test.go
containerID := apitest.BuildContainerName(containerConfig.Metadata, podSandboxID) imageRef := containerConfig.Image.Image return &apitest.FakeContainer{ ContainerStatus: runtimeapi.ContainerStatus{ Id: containerID, Metadata: containerConfig.Metadata, Image: containerConfig.Image, ImageRef: imageRef, CreatedAt: template.createdAt,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 96K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
Volumes: []corev1.Volume{ { Name: "test", }, }, }, Status: corev1.PodStatus{ InitContainerStatuses: []corev1.ContainerStatus{ { Name: "init-container", }, }, ContainerStatuses: []corev1.ContainerStatus{ { Name: "container-1", }, { Name: "container-2", }, }, PodIP: "1.1.1.1",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pkg/kubelet/server/server_test.go
func (*fakeKubelet) GetCgroupStats(cgroupName string, updateStats bool) (*statsapi.ContainerStats, *statsapi.NetworkStats, error) { return nil, nil, nil } func (*fakeKubelet) GetCgroupCPUAndMemoryStats(cgroupName string, updateStats bool) (*statsapi.ContainerStats, error) { return nil, nil } type fakeAuth struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0)