Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for restartCount (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/api/testing/deep_copy_test.go

    				Name: "etcd-container",
    				State: api.ContainerState{
    					Running: &api.ContainerStateRunning{
    						StartedAt: parseTimeOrDie("2015-04-22T11:49:32Z"),
    					},
    				},
    				Ready:        true,
    				RestartCount: 0,
    				Image:        "registry.k8s.io/etcd:2.0.9",
    				ImageID:      "docker://b6b9a86dc06aa1361357ca1b105feba961f6a4145adca6c54e142c0be0fe87b0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top