- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for restartCount (0.19 sec)
-
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json
"startedAt": "2005-01-01T01:01:01Z", "finishedAt": "2006-01-01T01:01:01Z", "containerID": "containerIDValue" } }, "ready": true, "restartCount": 5, "image": "imageValue", "imageID": "imageIDValue", "containerID": "containerIDValue", "started": true, "allocatedResources": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 52.6K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Pod.yaml
name: nameValue ready: true resources: claims: - name: nameValue limits: limitsKey: "0" requests: requestsKey: "0" restartCount: 5 started: true state: running: startedAt: "2001-01-01T01:01:01Z" terminated: containerID: containerIDValue exitCode: 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 32.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
ctx := context.Background() container := &pod.Spec.Containers[containerIndex] podIP := "" restartCount := 0 opts, _, _ := m.runtimeHelper.GenerateRunContainerOptions(ctx, pod, container, podIP, []string{podIP}) containerLogsPath := buildContainerLogsPath(container.Name, restartCount) restartCountUint32 := uint32(restartCount) envs := make([]*runtimeapi.KeyValue, len(opts.Envs))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
Phase: api.PodPending, ContainerStatuses: []api.ContainerStatus{ {Name: "ctr1", State: api.ContainerState{Running: &api.ContainerStateRunning{}}, RestartCount: 10, Ready: true}, {Name: "ctr2", State: api.ContainerState{Waiting: &api.ContainerStateWaiting{}}, RestartCount: 0}, }, NominatedNodeName: "nominated-node", }, } multiIPsPod := &api.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
// unless there is a major API violation restartCount++ } } metrics.RestartedPodTotal.WithLabelValues("true").Add(float64(restartCountStatic)) metrics.RestartedPodTotal.WithLabelValues("").Add(float64(restartCount)) // Complete termination of deleted pods that are not runtime pods (don't have
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
tools/bug-report/pkg/cluster/cluster.go
podItem = r.CniPod[PodKey(namespace, pod)] } else { podItem = r.Pod[PodKey(namespace, pod)] } for _, cs := range podItem.Status.ContainerStatuses { if cs.Name == container { return int(cs.RestartCount) } } return 0 } // IsDiscoveryContainer reports whether the given container is the Istio discovery container.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 14 02:11:31 UTC 2023 - 10.9K bytes - Viewed (0) -
pkg/test/kube/dump.go
func containerRestarts(pod corev1.Pod, container string) int { for _, cs := range pod.Status.ContainerStatuses { if cs.Name == container { return int(cs.RestartCount) } } // No match - assume that means no restart return 0 } func containerCrashed(pod corev1.Pod, container string) (bool, *corev1.ContainerStateTerminated) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/kubelet/container/runtime.go
// Runtime handler used to pull the image if any. ImageRuntimeHandler string // Hash of the container, used for comparison. Hash uint64 // Number of times that the container has been restarted. RestartCount int // A string explains why container is in such a status. Reason string // Message written by the container before exiting (stored in // TerminationMessagePath). Message string
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/printers/internalversion/printers.go
totalContainers++ } } initializing := false for i := range pod.Status.InitContainerStatuses { container := pod.Status.InitContainerStatuses[i] restarts += int(container.RestartCount) if container.LastTerminationState.Terminated != nil { terminatedDate := container.LastTerminationState.Terminated.FinishedAt if lastRestartDate.Before(&terminatedDate) { lastRestartDate = terminatedDate
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
for j := range po.Status.InitContainerStatuses { stat := po.Status.InitContainerStatuses[j] result += stat.RestartCount } for j := range po.Status.ContainerStatuses { stat := po.Status.ContainerStatuses[j] result += stat.RestartCount } } } if *job.Spec.BackoffLimit == 0 { return result > 0 } return result >= *job.Spec.BackoffLimit }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0)