- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for restartCount (0.18 sec)
-
pkg/printers/internalversion/printers_test.go
Status: api.PodStatus{ Phase: "podPhase", ContainerStatuses: []api.ContainerStatus{ {Ready: true, RestartCount: 3, State: api.ContainerState{Running: &api.ContainerStateRunning{}}}, {RestartCount: 3}, }, }, }, []metav1.TableRow{{Cells: []interface{}{"test1", "1/2", "podPhase", "6", "<unknown>"}}}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K 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
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/controller/controller_utils_test.go
Status: v1.PodStatus{ Phase: v1.PodRunning, Conditions: []v1.PodCondition{{Type: v1.PodReady, Status: v1.ConditionTrue}}, ContainerStatuses: []v1.ContainerStatus{{RestartCount: 3}, {RestartCount: 0}}, }, }, { ObjectMeta: metav1.ObjectMeta{Name: "runningWithLastTransitionTime"}, Spec: v1.PodSpec{NodeName: "foo"}, Status: v1.PodStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml
exitCode: 255 finishedAt: '2019-07-08T09:39:09Z' reason: Error startedAt: '2019-07-08T09:38:54Z' name: name ready: true restartCount: 6 state: running: startedAt: '2019-07-08T09:41:59Z' hostIP: 10.0.0.1 phase: Running podIP: 10.0.0.1 qosClass: BestEffort
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/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: Thu Apr 18 08:52:25 UTC 2024 - 52K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers.go
const logPathDelimiter = "_" // buildContainerLogsPath builds log path for container relative to pod logs directory. func buildContainerLogsPath(containerName string, restartCount int) string { return filepath.Join(containerName, fmt.Sprintf("%d.log", restartCount)) } // BuildContainerLogsDirectory builds absolute log directory path for a container in pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 12K bytes - Viewed (0) -
pkg/util/pod/pod_test.go
}, } return input }, false, []byte(fmt.Sprintf(`{"metadata":{"uid":"myuid"},"status":{"initContainerStatuses":[{"image":"","imageID":"","lastState":{},"name":"init-container","ready":true,"restartCount":0,"state":{}}]}}`)), }, } for _, tc := range testCases { t.Run(tc.description, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 15:22:29 UTC 2022 - 4.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.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: Thu Apr 18 08:52:25 UTC 2024 - 33.2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/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: Fri Dec 15 04:12:07 UTC 2023 - 50.7K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/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: Wed May 29 22:40:29 UTC 2024 - 33.6K bytes - Viewed (0)