Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for SinceInSeconds (0.28 sec)

  1. pkg/kubelet/pod_workers.go

    		p.cleanupUnstartedPod(update.Options.Pod, status)
    		status.working = false
    		if start := update.Options.StartTime; !start.IsZero() {
    			metrics.PodWorkerDuration.WithLabelValues("terminated").Observe(metrics.SinceInSeconds(start))
    		}
    		klog.V(4).InfoS("Pod cannot start ever", "pod", klog.KObj(update.Options.Pod), "podUID", podUID, "updateType", update.WorkType)
    		return ctx, update, canStart, canEverStart, true
    	case !canStart:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/eviction_manager.go

    	for _, t := range thresholds {
    		timeObserved := observations[t.Signal].time
    		if !timeObserved.IsZero() {
    			metrics.EvictionStatsAge.WithLabelValues(string(t.Signal)).Observe(metrics.SinceInSeconds(timeObserved.Time))
    		}
    	}
    
    	// we kill at most a single pod during each eviction interval
    	for i := range activePods {
    		pod := activePods[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/proxier.go

    	// Below this point we will not return until we try to write the nftables rules.
    	//
    
    	// Keep track of how long syncs take.
    	start := time.Now()
    	defer func() {
    		metrics.SyncProxyRulesLatency.Observe(metrics.SinceInSeconds(start))
    		proxier.logger.V(2).Info("SyncProxyRules complete", "elapsed", time.Since(start))
    	}()
    
    	serviceUpdateResult := proxier.svcPortMap.Update(proxier.serviceChanges)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/proxier.go

    	// and the mutex is held.
    	defer func() {
    		proxier.initialSync = false
    	}()
    
    	// Keep track of how long syncs take.
    	start := time.Now()
    	defer func() {
    		metrics.SyncProxyRulesLatency.Observe(metrics.SinceInSeconds(start))
    		proxier.logger.V(4).Info("syncProxyRules complete", "elapsed", time.Since(start))
    	}()
    
    	// We assume that if this was called, we really want to sync them,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server.go

    	startTime := time.Now()
    	defer servermetrics.HTTPRequestsDuration.WithLabelValues(method, path, serverType, longRunning).Observe(servermetrics.SinceInSeconds(startTime))
    
    	handler.ServeHTTP(w, req)
    }
    
    // prometheusHostAdapter adapts the HostInterface to the interface expected by the
    // cAdvisor prometheus collector.
    type prometheusHostAdapter struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  6. pkg/proxy/winkernel/proxier.go

    		return
    	}
    
    	// Keep track of how long syncs take.
    	start := time.Now()
    	defer func() {
    		metrics.SyncProxyRulesLatency.Observe(metrics.SinceInSeconds(start))
    		klog.V(4).InfoS("Syncing proxy rules complete", "elapsed", time.Since(start))
    	}()
    
    	hnsNetworkName := proxier.network.name
    	hns := proxier.hns
    
    	var gatewayHnsendpoint *endpointInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/manager.go

    		klog.V(3).InfoS("Making allocation request for device plugin", "devices", devs, "resourceName", resource)
    		resp, err := eI.e.allocate(devs)
    		metrics.DevicePluginAllocationDuration.WithLabelValues(resource).Observe(metrics.SinceInSeconds(startRPCTime))
    		if err != nil {
    			// In case of allocation failure, we want to restore m.allocatedDevices
    			// to the actual allocated state from m.podDevices.
    			m.mutex.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue.go

    	var s *framework.Status
    	pod := pInfo.Pod
    	startTime := p.clock.Now()
    	defer func() {
    		metrics.FrameworkExtensionPointDuration.WithLabelValues(preEnqueue, s.Code().String(), pod.Spec.SchedulerName).Observe(metrics.SinceInSeconds(startTime))
    	}()
    
    	shouldRecordMetric := rand.Intn(100) < p.pluginMetricsSamplePercent
    	for _, pl := range p.preEnqueuePluginMap[pod.Spec.SchedulerName] {
    		s = p.runPreEnqueuePlugin(ctx, pl, pod, shouldRecordMetric)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet.go

    		if !firstSeenTime.IsZero() {
    			// This is the first time we are syncing the pod. Record the latency
    			// since kubelet first saw the pod if firstSeenTime is set.
    			metrics.PodWorkerStartDuration.Observe(metrics.SinceInSeconds(firstSeenTime))
    		} else {
    			klog.V(3).InfoS("First seen time not recorded for pod",
    				"podUID", pod.UID,
    				"pod", klog.KObj(pod))
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top