Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for restartCount (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/controller/job/job_controller_test.go

    			podIndexer := sharedInformerFactory.Core().V1().Pods().Informer().GetIndexer()
    			for i, pod := range newPodList(len(tc.restartCounts), tc.podPhase, job) {
    				pod.Status.ContainerStatuses = []v1.ContainerStatus{{RestartCount: tc.restartCounts[i]}}
    				podIndexer.Add(pod)
    			}
    
    			// run
    			err := manager.syncJob(context.TODO(), testutil.GetKey(job, t))
    
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_pods_test.go

    				Reason:   kubecontainer.ContainerReasonStatusUnknown,
    				Message:  "The container could not be located when the pod was deleted.  The container used to be Running",
    				ExitCode: 137,
    			},
    		},
    		RestartCount: restartCount,
    	}
    }
    func ready(status v1.ContainerStatus) v1.ContainerStatus {
    	status.Ready = true
    	return status
    }
    func withID(status v1.ContainerStatus, id string) v1.ContainerStatus {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "type": "string"
            },
            "ready": {
              "description": "Specifies whether the container has passed its readiness probe.",
              "type": "boolean"
            },
            "restartCount": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
Back to top