Prometheus Adapter for Kubernetes Metrics APIs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
=Internal= | =Internal= | ||
* [[ | * [[Prometheus_Concepts#Prometheus_Adapter_for_Kubernetes_Metrics_APIs|Prometheus Concepts]] | ||
* [[Metrics_in_Kubernetes#Custom_Metrics_API|Metrics in Kubernetes]] | * [[Metrics_in_Kubernetes#Custom_Metrics_API|Metrics in Kubernetes]] | ||
* [[Kubernetes_Horizontal_Pod_Autoscaler#Custom_Metrics-based_Scaling|Horizontal Pod Autoscaler]] | * [[Kubernetes_Horizontal_Pod_Autoscaler#Custom_Metrics-based_Scaling|Horizontal Pod Autoscaler]] |
Revision as of 01:43, 15 October 2020
External
- https://github.com/DirectXMan12/k8s-prometheus-adapter
- https://github.com/prometheus-community/helm-charts/tree/main/charts/prometheus-adapter
Internal
Overview
The Prometheus adapter is a Kubernetes Aggregation Layer extension.
Helm Installation
Install Prometheus first. Then:
kubectl create ns prometheus-adapter
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm search repo prometheus-community
helm install -n prometheus-adapter prometheus-adapter prometheus-community/prometheus-adapter
Test installation:
kubectl get --raw /apis/custom.metrics.k8s.io/v1beta1 | jq
{
"kind": "APIResourceList",
"apiVersion": "v1",
"groupVersion": "custom.metrics.k8s.io/v1beta1",
"resources": []
}