Skip to content

Commit c31e98c

Browse files
committed
review comments 2
1 parent 1d10116 commit c31e98c

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docs/tasks/debug-application-cluster/core-metrics-pipeline.md

+11-8
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ title: Core metrics pipeline
66
---
77

88
Starting from Kubernetes 1.8, resource usage metrics, such as container CPU and memory usage,
9-
are available in Kubernetes though the the Metrics API. These metrics can be either accessed directly
9+
are available in Kubernetes through the Metrics API. These metrics can be either accessed directly
1010
by user, for example by using `kubectl top` command, or used by a controller in the cluster, e.g.
11-
Horizontal Pod Autoscaler to make decisions.
11+
Horizontal Pod Autoscaler, to make decisions.
1212

1313
## The Metrics API
1414

@@ -18,18 +18,21 @@ so it's not possible for example to get the amount of resources used by a
1818
given node 10 minutes ago.
1919

2020
The API no different from any other API:
21-
it is discoverable through the same endpoint as the other Kubernetes APIs under `/apis/metrics.k8s.io/` path.
22-
It also offers the same security, scalability and reliability guarantees.
21+
22+
- it is discoverable through the same endpoint as the other Kubernetes APIs under `/apis/metrics.k8s.io/` path
23+
- it offers the same security, scalability and reliability guarantees
2324

2425
The API is defined in [k8s.io/metrics](https://github.com/kubernetes/metrics/blob/master/pkg/apis/metrics/v1beta1/types.go)
25-
repository. You can find more information about the API resources there.
26+
repository. You can find more information about the API there.
27+
28+
The API requires metrics server to be deployed in the cluster. Otherwise it will be not available.
2629

2730
## Metrics Server
2831

2932
[Metrics Server](https://github.com/kubernetes-incubator/metrics-server) is a cluster-wide aggregator of resource usage data.
30-
Starting from Kubernetes 1.8 it's deployed by default in clusters crated by `kube-up.sh` script
31-
as a Deployment object.
32-
User can deploy it also using the provided [deployment yamls](https://github.com/kubernetes-incubator/metrics-server/tree/master/deploy).
33+
Starting from Kubernetes 1.8 it's deployed by default in clusters created by `kube-up.sh` script
34+
as a Deployment object. If you use a different Kubernetes setup mechanism you can deploy it using the provided
35+
[deployment yamls](https://github.com/kubernetes-incubator/metrics-server/tree/master/deploy).
3336
It's supported in Kubernetes 1.7+ (see details below).
3437

3538
Metric server collects metrics from the Summary API, exposed by [Kubelet](/docs/admin/kubelet/) on each node.

0 commit comments

Comments
 (0)