Update documentation on SLI metrics (#40064)

* update metrics/slis documentation

* Update content/en/docs/reference/instrumentation/slis.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Update content/en/docs/reference/instrumentation/slis.md

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* update feature gate doc

* Update content/en/docs/reference/command-line-tools-reference/feature-gates.md

Co-authored-by: Qiming Teng <tengqm@outlook.com>

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Qiming Teng <tengqm@outlook.com>
pull/40017/head
Han Kang 2023-04-03 01:13:52 -07:00 committed by GitHub
parent 94b30e7c24
commit 89c7e2ed6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -84,7 +84,8 @@ For a reference to old feature gates that are removed, please refer to
| `CSINodeExpandSecret` | `true` | Beta | 1.27 | | | `CSINodeExpandSecret` | `true` | Beta | 1.27 | |
| `CSIVolumeHealth` | `false` | Alpha | 1.21 | | | `CSIVolumeHealth` | `false` | Alpha | 1.21 | |
| `CloudDualStackNodeIPs` | false | Alpha | 1.27 | | | `CloudDualStackNodeIPs` | false | Alpha | 1.27 | |
| `ComponentSLIs` | `false` | Alpha | 1.26 | | | `ComponentSLIs` | `false` | Alpha | 1.26 | 1.26 |
| `ComponentSLIs` | `true` | Beta | 1.27 | |
| `ContainerCheckpoint` | `false` | Alpha | 1.25 | | | `ContainerCheckpoint` | `false` | Alpha | 1.25 | |
| `ContextualLogging` | `false` | Alpha | 1.24 | | | `ContextualLogging` | `false` | Alpha | 1.24 | |
| `CrossNamespaceVolumeDataSource` | `false` | Alpha| 1.26 | | | `CrossNamespaceVolumeDataSource` | `false` | Alpha| 1.26 | |

View File

@ -9,13 +9,13 @@ weight: 20
<!-- overview --> <!-- overview -->
{{< feature-state for_k8s_version="v1.26" state="alpha" >}} {{< feature-state for_k8s_version="v1.27" state="beta" >}}
As an alpha feature, Kubernetes lets you configure Service Level Indicator (SLI) metrics By default, Kubernetes {{< skew currentVersion >}} publishes Service Level Indicator (SLI) metrics
for each Kubernetes component binary. This metric endpoint is exposed on the serving for each Kubernetes component binary. This metric endpoint is exposed on the serving
HTTPS port of each component, at the path `/metrics/slis`. You must enable the HTTPS port of each component, at the path `/metrics/slis`. The
`ComponentSLIs` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) `ComponentSLIs` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
for every component from which you want to scrape SLI metrics. defaults to enabled for each Kubernetes component as of v1.27.
<!-- body --> <!-- body -->