- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RecordAuthenticationConfigAutomaticReloadFailure (0.65 sec)
-
staging/src/k8s.io/apiserver/pkg/server/options/authenticationconfig/metrics/metrics.go
}) } func ResetMetricsForTest() { authenticationConfigAutomaticReloadsTotal.Reset() authenticationConfigAutomaticReloadLastTimestampSeconds.Reset() } func RecordAuthenticationConfigAutomaticReloadFailure(apiServerID string) { apiServerIDHash := getHash(apiServerID) authenticationConfigAutomaticReloadsTotal.WithLabelValues("failure", apiServerIDHash).Inc()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 22:40:22 UTC 2024 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/authenticationconfig/metrics/metrics_test.go
` metrics := []string{ namespace + "_" + subsystem + "_automatic_reloads_total", } authenticationConfigAutomaticReloadsTotal.Reset() RegisterMetrics() RecordAuthenticationConfigAutomaticReloadFailure(testAPIServerID) if err := testutil.GatherAndCompare(legacyregistry.DefaultGatherer, strings.NewReader(expectedValue), metrics...); err != nil { t.Fatal(err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 22:40:22 UTC 2024 - 4.6K bytes - Viewed (0) -
pkg/kubeapiserver/options/authentication.go
authConfigBytes, err := os.ReadFile(o.AuthenticationConfigFile) if err != nil { klog.ErrorS(err, "failed to read authentication config file") authenticationconfigmetrics.RecordAuthenticationConfigAutomaticReloadFailure(apiServerID) // we do not update the tracker here because this error could eventually resolve as we keep retrying return } authConfigData := string(authConfigBytes)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 22:40:22 UTC 2024 - 32.4K bytes - Viewed (0)