diff --git a/manifests/bundle.yaml b/manifests/bundle.yaml index b3f1d91..b3ab0b2 100644 --- a/manifests/bundle.yaml +++ b/manifests/bundle.yaml @@ -60,22 +60,3 @@ spec: - name: api-secret secret: secretName: storageos-api ---- -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - labels: - app: storageos - name: storageos-metrics-service-monitor - namespace: storageos -spec: - endpoints: - - interval: 15s - path: /metrics - port: metrics - namespaceSelector: - matchNames: - - storageos - selector: - matchLabels: - service-discovery: storageos-metrics-exporter diff --git a/manifests/kustomization.yaml b/manifests/kustomization.yaml index c650ce9..9a2c2b1 100644 --- a/manifests/kustomization.yaml +++ b/manifests/kustomization.yaml @@ -7,5 +7,4 @@ commonLabels: resources: - daemonset.yaml -- service.yaml -- service-monitor.yaml \ No newline at end of file +- service.yaml \ No newline at end of file diff --git a/manifests/service-monitor.yaml b/manifests/service-monitor.yaml deleted file mode 100644 index dc3b30d..0000000 --- a/manifests/service-monitor.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: ServiceMonitor -metadata: - name: metrics-service-monitor - # may need the label "app: prometheus" when installed through helms -spec: - endpoints: - - path: /metrics - port: metrics - interval: 15s - selector: - matchLabels: - service-discovery: storageos-metrics-exporter - namespaceSelector: - matchNames: - - storageos \ No newline at end of file