k8s-prom-hpa icon indicating copy to clipboard operation
k8s-prom-hpa copied to clipboard

Kubernetes Horizontal Pod Autoscaler with Prometheus custom metrics

Results 27 k8s-prom-hpa issues
Sort by recently updated
recently updated
newest added

I'm using mongodb-exporter for store/query the metrics via prometheus. I have set up a custom metric server and storing values for that . That is the evidence of prometheus-exporter and...

@stefanprodan Hi, In the README.md, you say "The podinfo app exposes a custom metric named http_requests_total. The Prometheus adapter removes the _total suffix and marks the metric as a counter...

kube-api config --requestheader-client-ca-file=/etc/kubernetes/ssl/ca.pem \ --requestheader-allowed-names=aggregator \ --requestheader-extra-headers-prefix=X-Remote-Extra- \ --requestheader-group-headers=X-Remote-Group \ --requestheader-username-headers=X-Remote-User \ --------- # kubectl top nodes Error from server (ServiceUnavailable): the server is currently unable to handle the request...

Steps to reproduce: ``` $ kubectl create -f metrics-server/ $ kubectl create -f ./podinfo/podinfo-svc.yaml,./podinfo/podinfo-dep.yaml $ kubectl create -f ./podinfo/podinfo-hpa.yaml ``` Soon after, I start seeing erroneous values for the CPU...

-bash-4.2# kubectl get --raw "/apis/metrics.k8s.io/v1beta1/nodes" | jq . Error from server (NotFound): the server could not find the requested resource -bash-4.2# kubectl get --raw "/apis/metrics.k8s.io/v1beta1/pods" | jq . Error from...

I don't know how to expand the bandwidth according to the cluster. Most of the examples are about CPU and memory.I can't write this yaml file. Please give me some...

I1207 09:53:35.292482 1 request.go:836] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"configmaps \"extension-apiserver-authentication\" not found","reason":"NotFound","details":{"name":"extension-apiserver-authentication","kind":"configmaps"},"code":404} W1207 09:53:35.292976 1 authentication.go:231] Unable to get configmap/extension-apiserver-authentication in kube-system. Usually fixed by 'kubectl create rolebinding -n kube-system ROLE_NAME --role=extension-apiserver-authentication-reader...

Installed custom metric but I do not see all the metrics I need specially for JVM metrics. In addition, it appears the image does not like using custom config.yaml. Below...

- 1. kubectl create -f ./metrics-server master1 kube-apiserver: E0412 22:18:30.255424 2628 available_controller.go:295] v1beta1.metrics.k8s.io failed with: Get https://10.233.53.4:443: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) -...

I am trying to access the values of node metrics (exposed by node exporter to Prometheus) in custom metrics API which appear e.g. jobs.batch/node_memory_MemTotal. But when I do kubectl get...