Skip to content

Instantly share code, notes, and snippets.

@alicek106
Last active April 13, 2020 13:30
Show Gist options
  • Save alicek106/82f2d38fcfdb5f86ecc69914393fbb55 to your computer and use it in GitHub Desktop.
Save alicek106/82f2d38fcfdb5f86ecc69914393fbb55 to your computer and use it in GitHub Desktop.
istio-component-servicemonitor.yaml
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: istio-component-monitor
namespace: default
labels:
app: monitoring
monitoring: istio-components
spec:
jobLabel: istio
selector:
matchExpressions:
- {key: istio, operator: In, values: [mixer,pilot,galley,citadel]}
namespaceSelector:
matchNames:
- istio-system
endpoints:
- port: http-monitoring
interval: 15s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment