Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4c4fab5

Browse files
authoredSep 8, 2017
Merge pull request kubernetes#8 from DirectXMan12/docs/restore-readme-and-docs
Restore README and docs
2 parents 04fb35b + 260827d commit 4c4fab5

File tree

4 files changed

+179
-0
lines changed

4 files changed

+179
-0
lines changed
 

‎CONTRIBUTING.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Contributing guidelines
2+
3+
## How to become a contributor and submit your own code
4+
5+
### Contributor License Agreements
6+
7+
We'd love to accept your patches! Before we can take them, we have to jump a couple of legal hurdles.
8+
9+
Please fill out either the individual or corporate Contributor License Agreement (CLA).
10+
11+
* If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA](https://identity.linuxfoundation.org/node/285/node/285/individual-signup).
12+
* If you work for a company that wants to allow you to contribute your work, then you'll need to sign a [corporate CLA](https://identity.linuxfoundation.org/node/285/organization-signup).
13+
14+
Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll be able to accept your pull requests.
15+
16+
### Contributing A Patch
17+
18+
1. Submit an issue describing your proposed change to the repo in question.
19+
1. The [repo owners](OWNERS) will respond to your issue promptly.
20+
1. If your proposed change is accepted, and you haven't already done so, sign a Contributor License Agreement (see details above).
21+
1. Fork the desired repo, develop and test your code changes.
22+
1. Submit a pull request.
23+
24+
### Adding dependencies
25+
26+
If your patch depends on new packages, add that package with [`godep`](https://github.com/tools/godep). Follow the [instructions to add a dependency](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md#godep-and-dependency-management).

‎IMPLEMENTATIONS.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Implementations
2+
3+
## Resource Metrics API
4+
5+
- [Heapster](https://github.com/kubernetes/heapster): a application which
6+
gathers metrics, writes them to metrics storage "sinks", and exposes the
7+
resource metrics API from in-memory storage.
8+
9+
- [Metrics Server](https://github.com/kubernetes/heapster):
10+
a lighter-weight in-memory server specifically for the resource metrics
11+
API.
12+
13+
## Custom Metrics API
14+
15+
***NB: None of the below implemenations are officially part of Kubernetes.
16+
They are listed here for convinience.***
17+
18+
- [Prometheus
19+
Adapter](https://github.com/directxman12/k8s-prometheus-adapter). An
20+
implementation of the custom metrics API that attempts to support
21+
arbitrary metrics following a set label and naming scheme.
22+
23+
- [Google Stackdriver (coming
24+
soon)](https://github.com/GoogleCloudPlatform/k8s-stackdriver)

‎README.md

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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. For more
18+
details on implemenations of these apis, see
19+
[IMPLEMENTATIONS.md](IMPLEMENTATIONS.md).
20+
21+
### Custom Metrics API
22+
23+
This API allows consumers to access arbitrary metrics which describe
24+
Kubernetes resources.
25+
26+
The API is intended to be implemented by monitoring pipeline vendors, on
27+
top of their metrics storage solutions.
28+
29+
If you want to implement this an API server for this API, please see the
30+
[kubernetes-incubator/custom-metrics-apiserver](https://github.com/kubernetes-incubator/custom-metrics-apiserver)
31+
library, which contains the basic infrastructure required to set up such
32+
an API server.
33+
34+
Import Path: `k8s.io/metrics/pkg/apis/custom_metrics`.
35+
36+
### Resource Metrics API
37+
38+
This API allows consumers to access resource metrics (CPU and memory) for
39+
pods and nodes.
40+
41+
The API is implemented by Heapster
42+
(https://github.com/kubernetes/heapster) and metrics-server
43+
(https://github.com/kubernetes-incubator/metrics-server).
44+
45+
Import Path: `k8s.io/metrics/pkg/apis/metrics`.
46+
47+
## Compatibility
48+
49+
The APIs in this repository follow the standard guarantees for Kubernetes
50+
APIs, and will follow Kubernetes releases.
51+
52+
## Community, discussion, contribution, and support
53+
54+
Learn how to engage with the Kubernetes community on the [community
55+
page](http://kubernetes.io/community/).
56+
57+
You can reach the maintainers of this repository at:
58+
59+
- Slack: #sig-instrumention (on https://kubernetes.slack.com -- get an
60+
invite at slack.kubernetes.io)
61+
- Mailing List:
62+
https://groups.google.com/forum/#!forum/kubernetes-sig-instrumentation
63+
64+
### Code of Conduct
65+
66+
Participation in the Kubernetes community is governed by the [Kubernetes
67+
Code of Conduct](code-of-conduct.md).
68+
69+
### Contibution Guidelines
70+
71+
See [CONTRIBUTING.md](CONTRIBUTING.md) for more information.

‎code-of-conduct.md

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
## Kubernetes Community Code of Conduct
2+
3+
### Contributor Code of Conduct
4+
5+
As contributors and maintainers of this project, and in the interest of fostering
6+
an open and welcoming community, we pledge to respect all people who contribute
7+
through reporting issues, posting feature requests, updating documentation,
8+
submitting pull requests or patches, and other activities.
9+
10+
We are committed to making participation in this project a harassment-free experience for
11+
everyone, regardless of level of experience, gender, gender identity and expression,
12+
sexual orientation, disability, personal appearance, body size, race, ethnicity, age,
13+
religion, or nationality.
14+
15+
Examples of unacceptable behavior by participants include:
16+
17+
* The use of sexualized language or imagery
18+
* Personal attacks
19+
* Trolling or insulting/derogatory comments
20+
* Public or private harassment
21+
* Publishing other's private information, such as physical or electronic addresses,
22+
without explicit permission
23+
* Other unethical or unprofessional conduct.
24+
25+
Project maintainers have the right and responsibility to remove, edit, or reject
26+
comments, commits, code, wiki edits, issues, and other contributions that are not
27+
aligned to this Code of Conduct. By adopting this Code of Conduct, project maintainers
28+
commit themselves to fairly and consistently applying these principles to every aspect
29+
of managing this project. Project maintainers who do not follow or enforce the Code of
30+
Conduct may be permanently removed from the project team.
31+
32+
This code of conduct applies both within project spaces and in public spaces
33+
when an individual is representing the project or its community.
34+
35+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a Kubernetes maintainer, Sarah Novotny <sarahnovotny@google.com>, and/or Dan Kohn <dan@linuxfoundation.org>.
36+
37+
This Code of Conduct is adapted from the Contributor Covenant
38+
(http://contributor-covenant.org), version 1.2.0, available at
39+
http://contributor-covenant.org/version/1/2/0/
40+
41+
### Kubernetes Events Code of Conduct
42+
43+
Kubernetes events are working conferences intended for professional networking and collaboration in the
44+
Kubernetes community. Attendees are expected to behave according to professional standards and in accordance
45+
with their employer's policies on appropriate workplace behavior.
46+
47+
While at Kubernetes events or related social networking opportunities, attendees should not engage in
48+
discriminatory or offensive speech or actions regarding gender, sexuality, race, or religion. Speakers should
49+
be especially aware of these concerns.
50+
51+
The Kubernetes team does not condone any statements by speakers contrary to these standards. The Kubernetes
52+
team reserves the right to deny entrance and/or eject from an event (without refund) any individual found to
53+
be engaging in discriminatory or offensive speech or actions.
54+
55+
Please bring any concerns to the immediate attention of Kubernetes event staff.
56+
57+
58+
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/code-of-conduct.md?pixel)]()

0 commit comments

Comments
 (0)
Please sign in to comment.