Debian Codegraph @

README.md

raw
1 # metrics
2
3 Kubernetes metrics API type definitions and clients.
4
5 ## Purpose
6
7 This repository contains type definitions and client code for the metrics
8 APIs that Kubernetes makes use of. Depending on the API, the actual
9 implementations live elsewhere.
10
11 Consumers of the metrics APIs can make use of this repository to access
12 implementations of the APIs, while implementors should make use of this
13 library when implementing their API servers.
14
15 ## APIs
16
17 This repository contains types and clients for several APIs.
18
19 ### Custom Metrics API
20
21 This API allows consumers to access arbitrary metrics which describe
22 Kubernetes resources.
23
24 The API is intended to be implemented by monitoring pipeline vendors, on
25 top of their metrics storage solutions.
26
27 If you want to implement this as an API server for this API, please see the
28 [kubernetes-sigs/custom-metrics-apiserver](https://github.com/kubernetes-sigs/custom-metrics-apiserver)
29 library, which contains the basic infrastructure required to set up such
30 an API server.
31
32 Import Path: `k8s.io/metrics/pkg/apis/custom_metrics`.
33
34 ### Resource Metrics API
35
36 This API allows consumers to access resource metrics (CPU and memory) for
37 pods and nodes.
38
39 The API is implemented by [metrics-server](https://github.com/kubernetes-sigs/metrics-server) and [prometheus-adapter](https://github.com/kubernetes-sigs/prometheus-adapter).
40
41 Import Path: `k8s.io/metrics/pkg/apis/metrics`.
42
43 ## Compatibility
44
45 The APIs in this repository follow the standard guarantees for Kubernetes
46 APIs, and will follow Kubernetes releases.
47
48 ## Community, discussion, contribution, and support
49
50 Learn how to engage with the Kubernetes community on the [community
51 page](http://kubernetes.io/community/).
52
53 You can reach the maintainers of this repository at:
54
55 - Slack: [#sig-instrumentation channel](https://kubernetes.slack.com/messages/sig-instrumentation), you can get an
56 invite at [slack.kubernetes.io](https://slack.kubernetes.io).
57 - [Mailing List](https://groups.google.com/forum/#!forum/kubernetes-sig-instrumentation)
58
59 ### Code of Conduct
60
61 Participation in the Kubernetes community is governed by the [Kubernetes
62 Code of Conduct](code-of-conduct.md).
63
64 ### Contibution Guidelines
65
66 See [CONTRIBUTING.md](CONTRIBUTING.md) for more information.
67