Skip to content

Commit 4bef3ee

Browse files
authored
Merge pull request #27358 from reylejano/follow-up-deprecation-policy-k8s-metrics
Update deprecation policy for k8s metrics
2 parents b4f485a + d9bdc19 commit 4bef3ee

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)