Skip to content

Commit

Permalink
Remove configuration that is not needed. (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanlin31 authored Nov 15, 2022
1 parent 0aa4036 commit cf57dec
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions config/prometheus/servicemonitors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ metadata:
release: grpc-testing
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
honorLabels: true
interval: 1s
port: http-metrics
scheme: http
tlsConfig:
insecureSkipVerify: true
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
honorLabels: true
interval: 1s
Expand All @@ -43,27 +36,3 @@ spec:
selector:
matchLabels:
k8s-app: kubelet
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: kube-state-metrics
namespace: test-infra-system
labels:
k8s-app: kube-state-metrics
spec:
jobLabel: k8s-app
selector:
matchLabels:
k8s-app: kube-state-metrics
namespaceSelector:
matchNames:
- prometheus
endpoints:
- port: http-metric
scheme: http
interval: 1s
honorLabels: true
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true

0 comments on commit cf57dec

Please sign in to comment.