Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stale_tokens_total (0.13 sec)

  1. pkg/serviceaccount/metrics.go

    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	// StaleTokensTotal is the number of stale projected tokens not refreshed on
    	// client side.
    	staleTokensTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      kubeServiceAccountSubsystem,
    			Name:           "stale_tokens_total",
    			Help:           "Cumulative stale projected service account tokens used",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. pkg/serviceaccount/claims.go

    			auditInfo := fmt.Sprintf("subject: %s, seconds after warning threshold: %d", public.Subject, secondsAfterWarn)
    			audit.AddAuditAnnotation(ctx, "authentication.k8s.io/stale-token", auditInfo)
    			staleTokensTotal.WithContext(ctx).Inc()
    		} else {
    			validTokensTotal.WithContext(ctx).Inc()
    		}
    	}
    
    	var jti string
    	if utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenJTI) {
    		jti = public.ID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 21:15:10 UTC 2023
    - 11.3K bytes
    - Viewed (0)
Back to top