Skip to content

Commit d9bdc19

Browse files
committed
follow-up PR to update deprecation policy for k8s metrics originally in PR 27202
1 parent b4f485a commit d9bdc19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/reference/using-api/deprecation-policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,12 +457,12 @@ string '(Deprecated from x.y)' and a warning log will be emitted during metric
457457
registration. Like their stable undeprecated counterparts, deprecated metrics will
458458
be automatically registered to the metrics endpoint and therefore visible.
459459

460-
On a subsequent release (when the metric's deprecatedVersion is equal to
460+
On a subsequent release (when the metric's `deprecatedVersion` is equal to
461461
_current_kubernetes_version - 3_)), a deprecated metric will become a _hidden_ metric.
462462
**_Unlike_** their deprecated counterparts, hidden metrics will _no longer_ be
463463
automatically registered to the metrics endpoint (hence hidden). However, they
464464
can be explicitly enabled through a command line flag on the binary
465-
(i.e. `--show-hidden-metrics-for-version=`). This provides cluster admins an
465+
(`--show-hidden-metrics-for-version=`). This provides cluster admins an
466466
escape hatch to properly migrate off of a deprecated metric, if they were not
467467
able to react to the earlier deprecation warnings. Hidden metrics should be
468468
deleted after one release.

0 commit comments

Comments
 (0)