Skip to content

Commit

Permalink
Merge pull request #589 from LiZhenCheng9527/add-prometheus-config
Browse files Browse the repository at this point in the history
add configuration to collect kmesh metrics using Prometheus
  • Loading branch information
kmesh-bot authored Jul 17, 2024
2 parents a60c49e + eb828ce commit 4a0534f
Show file tree
Hide file tree
Showing 6 changed files with 690 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/helm/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ spec:
labels:
app: kmesh
{{- include "kmesh.selectorLabels" . | nindent 8 }}
annotations:
prometheus.io/path: "status/metric"
prometheus.io/port: "15020"
prometheus.io/scrape: "true"
spec:
containers:
- args: ["./start_kmesh.sh {{ .Values.deploy.kmesh.containers.kmeshDaemonArgs }}"]
Expand Down
4 changes: 4 additions & 0 deletions deploy/yaml/kmesh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ spec:
metadata:
labels:
app: kmesh
annotations:
prometheus.io/path: "status/metric"
prometheus.io/port: "15020"
prometheus.io/scrape: "true"
spec:
tolerations:
- effect: NoSchedule
Expand Down
Loading

0 comments on commit 4a0534f

Please sign in to comment.