Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ws-manager-mk2/config/prometheus/monitor.yaml
2499 views
1
# Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
# Licensed under the GNU Affero General Public License (AGPL).
3
# See License-AGPL.txt in the project root for license information.
4
5
6
# Prometheus Monitor Service (Metrics)
7
apiVersion: monitoring.coreos.com/v1
8
kind: ServiceMonitor
9
metadata:
10
labels:
11
control-plane: controller-manager
12
name: controller-manager-metrics-monitor
13
namespace: system
14
spec:
15
endpoints:
16
- path: /metrics
17
port: https
18
scheme: https
19
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
20
tlsConfig:
21
insecureSkipVerify: true
22
selector:
23
matchLabels:
24
control-plane: controller-manager
25
26