 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( // PodGCReasonTerminated is used when the pod is terminated. PodGCReasonTerminated = "terminated" // PodGCReasonCompleted is used when the pod is terminating and the corresponding node // is not ready and has `node.kubernetes.io/out-of-service` taint. PodGCReasonTerminatingOutOfService = "out-of-service" // PodGCReasonOrphaned is used when the pod is orphaned which means the corresponding node // has been deleted. PodGCReasonOrphaned = "orphaned" // PodGCReasonUnscheduled is used when the pod is terminating and unscheduled. PodGCReasonTerminatingUnscheduled = "unscheduled" )
Variables ¶
      View Source
      
  
var ( DeletingPodsTotal = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: podGCController, Name: "force_delete_pods_total", Help: "Number of pods that are being forcefully deleted since the Pod GC Controller started.", StabilityLevel: metrics.ALPHA, }, []string{"namespace", "reason"}, ) DeletingPodsErrorTotal = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: podGCController, Name: "force_delete_pod_errors_total", Help: "Number of errors encountered when forcefully deleting the pods since the Pod GC Controller started.", StabilityLevel: metrics.ALPHA, }, []string{"namespace", "reason"}, ) )
Functions ¶
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.