Skip to content

Commit

Permalink
fix: fix metrics demo setup (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
bacherfl committed Apr 11, 2023
1 parent d8d94f0 commit b261172
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/support/metrics/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

.PHONY: 2-create-metric
2-create-metric:
kubectl apply -f load-generator-job.yaml
kubectl apply -f metric.yaml

.PHONY: 3-generate-load
3-generate-load:
Expand Down
1 change: 0 additions & 1 deletion examples/support/metrics/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,5 @@ spec:
- name: http
port: 9000
protocol: TCP
nodePort: 30900
targetPort: 9000
type: ClusterIP
2 changes: 1 addition & 1 deletion examples/support/metrics/metric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ spec:
provider:
name: prometheus
query: 'avg(rate(container_cpu_cfs_throttled_seconds_total{container="server", namespace="podtato-metrics"}[1m]))'
fetchIntervalSeconds: 60
fetchIntervalSeconds: 10

0 comments on commit b261172

Please sign in to comment.