contrib/kube-prometheus: Add sample-app for showing custom metrics with HPA
Use interval in ServiceMonitor endpoint Reintroduce updated dpeloy.sh & teardown.sh
This commit is contained in:
7
experimental/custom-metrics-api/deploy.sh
Normal file
7
experimental/custom-metrics-api/deploy.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/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
|
Reference in New Issue
Block a user