Kubernetes Horizontal Custom Metrics Autoscaling Walkthrough: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:


Prometheus Pushgateway will be used to manually or programmatically publish custom metrics with a CLI script similar to [https://github.com/ovidiuf/playground/blob/master/prometheus/pushgateway/publish-metric publish-metric].
Prometheus Pushgateway will be used to manually or programmatically publish custom metrics with a CLI script similar to [https://github.com/ovidiuf/playground/blob/master/prometheus/pushgateway/publish-metric publish-metric].
Install Prometheus adapter for Kubernetes Metrics API as described here: {{Internal|Prometheus_Adapter_for_Kubernetes_Metrics_APIs#Helm_Installation|Prometheus Adapter for Kubernetes Metrics APIs Helm Installation}}

Revision as of 06:34, 16 October 2020

Internal

Process

Install Prometheus as described here:

Prometheus Installation with Helm

Install Prometheus Pushgateway and configure it as a Prometheus target with a Prometheus Operator ServiceMonitor as described here:

Prometheus Pushgateway Installation

Prometheus Pushgateway will be used to manually or programmatically publish custom metrics with a CLI script similar to publish-metric.

Install Prometheus adapter for Kubernetes Metrics API as described here:

Prometheus Adapter for Kubernetes Metrics APIs Helm Installation