
This API has been discussed ad nauseam across several forums, and this API represents the latest conclusion. In summary, we will provide this API as temporary solution for providing the new stats required for 1.2. In the longterm this API will be split into "essential" stats, which will be provided by a first-party API served through the kubelet, and "non-essential" (monitoring) stats, which will be provided by a 3rd party API served from a pod.
21 lines
816 B
Go
21 lines
816 B
Go
/*
|
|
Copyright 2014 The Kubernetes Authors All rights reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
// Package stats handles exporting Kubelet and container stats.
|
|
// NOTE: We intend to move this functionality into a standalone pod, so this package should be very
|
|
// loosely coupled to the rest of the Kubelet.
|
|
package stats
|