s3-servicemonitor.yaml 484 B

1234567891011121314151617181920
  1. {{- if .Values.s3.metricsPort }}
  2. {{- if .Values.global.monitoring.enabled }}
  3. apiVersion: monitoring.coreos.com/v1
  4. kind: ServiceMonitor
  5. metadata:
  6. name: {{ template "seaweedfs.name" . }}-s3
  7. namespace: {{ .Release.Namespace }}
  8. labels:
  9. app: {{ template "seaweedfs.name" . }}
  10. component: s3
  11. spec:
  12. endpoints:
  13. - interval: 30s
  14. port: swfs-s3-metrics
  15. scrapeTimeout: 5s
  16. selector:
  17. app: {{ template "seaweedfs.name" . }}
  18. component: s3
  19. {{- end }}
  20. {{- end }}