Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for apiStatus (0.15 sec)

  1. pkg/kubelet/kubelet_test.go

    		ID:        pod.UID,
    		Name:      pod.Name,
    		Namespace: pod.Namespace,
    	}
    	apiStatus := kubelet.generateAPIPodStatus(pod, status, false)
    	require.Equal(t, v1.PodFailed, apiStatus.Phase)
    	require.Equal(t, "Evicted", apiStatus.Reason)
    	require.Equal(t, "because", apiStatus.Message)
    }
    
    func TestSyncTerminatingPodKillPod(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    				}
    			}
    		})
    	}
    }
    
    func isQualifiedResource(err error, kind, group string) bool {
    	if err.(errors.APIStatus).Status().Details.Kind != kind || err.(errors.APIStatus).Status().Details.Group != group {
    		return false
    	}
    	return true
    }
    
    func updateAndVerify(t *testing.T, ctx context.Context, registry *Store, pod *example.Pod) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    		if s.Phase != pod.Status.Phase {
    			klog.ErrorS(nil, "Pod attempted illegal phase transition", "pod", klog.KObj(pod), "originalStatusPhase", pod.Status.Phase, "apiStatusPhase", s.Phase, "apiStatus", s)
    			// Force back to phase from the API server
    			s.Phase = pod.Status.Phase
    		}
    	}
    
    	// ensure the probe managers have up to date status for containers
    	kl.probeManager.UpdatePodStatus(pod, s)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    			httpStats := globalHTTPStats.toServerHTTPStats(true)
    			metrics = make([]MetricV2, 0, 3+
    				len(httpStats.CurrentS3Requests.APIStats)+
    				len(httpStats.TotalS3Requests.APIStats)+
    				len(httpStats.TotalS3Errors.APIStats)+
    				len(httpStats.TotalS35xxErrors.APIStats)+
    				len(httpStats.TotalS34xxErrors.APIStats))
    			metrics = append(metrics, MetricV2{
    				Description: getS3RejectedAuthRequestsTotalMD(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	s3OutputBytes        uint64
    }
    
    // ServerHTTPAPIStats holds total number of HTTP operations from/to the server,
    // including the average duration the call was spent.
    type ServerHTTPAPIStats struct {
    	APIStats map[string]int `json:"apiStats"`
    }
    
    // ServerHTTPStats holds all type of http operations performed to/from the server
    // including their average execution time.
    type ServerHTTPStats struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
Back to top