-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
161 lines (157 loc) · 5.59 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
global:
enabled: true
# -- List of image pull secrets to be used across the deployment
imagePullSecrets: []
# -- Override the release name
nameOverride: ""
# -- Override the full name for resources
fullnameOverride: "server-monitoring"
prometheusOperator:
enabled: "-"
installCRDs: false
crds:
annotations:
"helm.sh/resource-policy": "keep"
# -- Number of Prometheus Operator replicas to deploy.
replicas: 1
image:
# -- Image repository for Prometheus Operator.
repository: quay.io/prometheus-operator/prometheus-operator
# -- Tag for the Prometheus Operator image.
tag: v0.80.1
prometheusConfigReloader:
image:
# -- Image repository for Prometheus Config Reloader.
repository: quay.io/prometheus-operator/prometheus-config-reloader
# -- Tag for the Prometheus Config Reloader image.
tag: v0.80.1
prometheus:
enabled: "-"
# -- Number of Prometheus replicas to deploy.
replicas: 2
image:
# -- Image repository for Prometheus.
repository: quay.io/prometheus/prometheus
# -- Tag for the Prometheus image.
tag: v3.2.1
serviceMonitor:
# -- Labels to select ServiceMonitors for scraping metrics.
# By default, it's configured to scrape the existing Telegraf deployment in CircleCI server.
selectorLabels:
app.kubernetes.io/instance: circleci-server
app.kubernetes.io/name: telegraf
# -- Namespaces to look for ServiceMonitor objects. Set this if the CircleCI
# server monitoring stack is deploying in a different namespace than the
# actual CircleCI server installation.
selectorNamespaces: []
endpoints:
- # -- Port name for the Prometheus client service.
port: prometheus-client
persistence:
# -- Enable persistent storage for Prometheus.
enabled: false
# -- Access modes for the persistent volume.
accessModes:
- ReadWriteOnce
# -- Size of the persistent volume claim.
size: 10Gi
# -- Storage class for persistent volume provisioner. You can create a custom
# storage class with a "retain" policy to ensure the persistent volume
# remains even after the chart is uninstalled.
storageClass: ""
# -- Full values for the Grafana Operator chart can be obtained at:
# https://github.com/grafana/grafana-operator/blob/master/deploy/helm/grafana-operator/values.yaml
grafanaoperator:
# -- Overrides the fully qualified app name.
fullnameOverride: "server-monitoring-grafana-operator"
image:
# -- Image repository for the Grafana Operator.
repository: quay.io/grafana-operator/grafana-operator
# -- Tag for the Grafana Operator image.
tag: v5.16.0
grafana:
enabled: "-"
# -- Number of Grafana replicas to deploy.
replicas: 1
image:
# -- Image repository for Grafana.
repository: grafana/grafana
# -- Tag for the Grafana image.
tag: 11.5.2
credentials:
# -- Name of an existing secret for Grafana credentials. Leave empty to create a new secret.
existingSecretName: ""
# -- Grafana admin username.
adminUser: "admin"
# -- Grafana admin password. Change from default for production environments.
adminPassword: "admin"
service:
# -- Specifies the type of service for Grafana. Options include ClusterIP,
# NodePort, or LoadBalancer. Use NodePort or LoadBalancer to expose
# Grafana externally. Ensure that grafana.credentials are set for
# security purposes.
type: "ClusterIP"
# -- Port on which the Grafana service will be exposed.
port: 3000
# -- Metadata annotations for the service.
annotations: {}
ingress:
# -- Enable to create an Ingress resource for Grafana. Disabled by default.
enabled: false
# -- Specifies the class of the Ingress controller. Required if the
# Kubernetes cluster includes multiple Ingress controllers.
className: ""
# -- Hostname to use for the Ingress. Must be set if Ingress is enabled.
host: ""
tls:
# -- Enable TLS for Ingress. Requires a TLS secret to be specified.
enabled: false
# -- Name of the TLS secret used for securing the Ingress. Must be
# provided if TLS is enabled.
secretName: ""
# -- Add any custom Grafana configurations you require here. This should be a
# YAML-formatted string of additional settings for Grafana.
customConfig: ""
persistence:
# -- Enable persistent storage for Grafana.
enabled: false
# -- Access modes for the persistent volume.
accessModes:
- ReadWriteOnce
# -- Size of the persistent volume claim.
size: 10Gi
# -- Storage class for persistent volume provisioner. You can create a custom
# storage class with a "retain" policy to ensure the persistent volume
# remains even after the chart is uninstalled.
storageClass: ""
datasource:
jsonData:
# -- The time interval for Grafana to poll Prometheus.
# Specifies the frequency of data requests.
timeInterval: 5s
dashboards:
# -- Sample dashboards for basic monitoring of a CircleCI server installation.
- name: "circleci-api-usage-dashboard"
resyncPeriod: 30s
json: |
{
"title": "CircleCI API Usage Dashboard",
"timezone": "browser",
"refresh": "5s",
"panels": [
{
"type": "timeseries",
"title": "API v2 Requests Count Over Time",
"targets": [
{
"expr": "circle.http.request.count"
}
]
}
],
"time": {
"from": "now-6h",
"to": "now"
}
}
# TODO: Add more dashboards in ticket ONPREM-1864