Files
kube-prometheus/experimental/custom-metrics-api/deploy.sh
Matthias Loibl d4089d7125 contrib/kube-prometheus: Add sample-app for showing custom metrics with HPA
Use interval in ServiceMonitor endpoint

Reintroduce updated dpeloy.sh & teardown.sh
2018-11-14 16:27:10 +01:00

8 lines
368 B
Bash

#!/usr/bin/env bash
kubectl apply -n monitoring custom-metrics-apiserver-resource-reader-cluster-role-binding.yaml
kubectl apply -n monitoring custom-metrics-apiservice.yaml
kubectl apply -n monitoring custom-metrics-cluster-role.yaml
kubectl apply -n monitoring custom-metrics-configmap.yaml
kubectl apply -n monitoring hpa-custom-metrics-cluster-role-binding.yaml