Skip to content

Commit

Permalink
added cleanup comand
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <[email protected]>
  • Loading branch information
bacherfl committed Apr 3, 2023
1 parent e9bfe73 commit 0a0adba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions examples/support/metrics/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ get-raw-metric:
.PHONY: get-hpa-status
get-hpa-status:
kubectl describe horizontalpodautoscalers.autoscaling -n podtato-metrics podtato-metrics-hpa

.PHONY: cleanup
cleanup:
kubectl delete namespace podtato-metrics
2 changes: 1 addition & 1 deletion examples/support/metrics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ As a consequence of that, you should eventually see a decrease of the `cpu-throt
$kubectl get keptnmetrics.metrics.keptn.sh -n podtato-metrics cpu-throttling
NAME PROVIDER QUERY VALUE
cpu-throttling prometheus avg(rate(container_cpu_cfs_throttled_seconds_total{container="server", namespace="podtato-metrics"}[1m])) 0.036489273639926
```
```

0 comments on commit 0a0adba

Please sign in to comment.