You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -312,6 +313,12 @@ The plugin can signal to the kubelet how it should cache a given response. There
312
313
2. Registry: the kubelet should cache and use this response only for future images with the same registry hostname (and port if included).
313
314
3. Image: the kubelet should cache and use this response only for future images that match the image exactly.
314
315
316
+
### Metrics
317
+
318
+
Two kubelet metrics will be added:
319
+
*`kubelet_credential_provider_plugin_errors`: this will track the number errors that occurred from invoking an exec plugin
320
+
*`kubelet_credential_provider_plugin_duration`: this will track the duration of execution by plugins.
321
+
315
322
### Test Plan
316
323
317
324
Alpha:
@@ -330,6 +337,7 @@ can be achieved using the exec plugin.
330
337
331
338
* integration or e2e tests.
332
339
* at least one working plugin implementation.
340
+
* kubelet metrics for failed calls to exec plugins.
333
341
* improvements to concurrency and caching:
334
342
- use `singleflight.Group` to ensure only a single call per image. Today the kubelet holds a single lock for every call to `Provide`.
335
343
See [this](https://github.com/kubernetes/kubernetes/pull/94196#discussion_r517805701) and [this](https://github.com/kubernetes/kubernetes/pull/94196#discussion_r518487386) discussion.
@@ -381,7 +389,7 @@ _This section must be completed when targeting beta graduation to a release._
381
389
382
390
***What specific metrics should inform a rollback?**
383
391
384
-
This feature does not have metrics.
392
+
High error rates from `kubelet_credential_provider_plugin_error` and long durations from `kubelet_credential_provider_plugin_duration`.
385
393
386
394
***Were upgrade and rollback tested? Was the upgrade->downgrade->upgrade path tested?**
387
395
@@ -403,10 +411,9 @@ _This section must be completed when targeting beta graduation to a release._
403
411
404
412
***What are the SLIs (Service Level Indicators) an operator can use to determine
0 commit comments