@@ -10,17 +10,16 @@ ms.date: 11/12/2023
10
10
prometheus :
11
11
prometheusSpec :
12
12
externalLabels :
13
- cluster : <AKS-CLUSTER-NAME>
13
+ cluster : <AKS-CLUSTER-NAME>
14
14
15
- # # https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write
16
- remoteWrite :
17
- - url : ' http://localhost:8081/api/v1/write'
18
-
15
+ # # https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write
16
+ remoteWrite :
17
+ - url : ' http://localhost:8081/api/v1/write'
19
18
# # Azure Managed Prometheus currently exports some default mixins in Grafana.
20
19
# # These mixins are compatible with Azure Monitor agent on your Azure Kubernetes Service cluster.
21
20
# # However, these mixins aren't compatible with Prometheus metrics scraped by the Kube Prometheus stack.
22
21
# # In order to make these mixins compatible, uncomment remote write relabel configuration below:
23
-
22
+
24
23
# # writeRelabelConfigs:
25
24
# # - sourceLabels: [metrics_path]
26
25
# # regex: /metrics/cadvisor
@@ -32,36 +31,35 @@ prometheus:
32
31
# # targetLabel: job
33
32
# # replacement: node
34
33
# # action: replace
35
-
36
- containers :
37
- - name : prom-remotewrite
38
- image : <CONTAINER-IMAGE-VERSION>
39
- imagePullPolicy : Always
40
- ports :
41
- - name : rw-port
42
- containerPort : 8081
43
- livenessProbe :
44
- httpGet :
45
- path : /health
46
- port : rw-port
34
+ containers :
35
+ - name : prom-remotewrite
36
+ image : <CONTAINER-IMAGE-VERSION>
37
+ imagePullPolicy : Always
38
+ ports :
39
+ - name : rw-port
40
+ containerPort : 8081
41
+ livenessProbe :
42
+ httpGet :
43
+ path : /health
44
+ port : rw-port
47
45
initialDelaySeconds : 10
48
46
timeoutSeconds : 10
49
- readinessProbe :
50
- httpGet :
51
- path : /ready
52
- port : rw-port
47
+ readinessProbe :
48
+ httpGet :
49
+ path : /ready
50
+ port : rw-port
53
51
initialDelaySeconds : 10
54
52
timeoutSeconds : 10
55
- env :
56
- - name : INGESTION_URL
57
- value : <INGESTION_URL>
58
- - name : LISTENING_PORT
59
- value : ' 8081'
60
- - name : IDENTITY_TYPE
61
- value : userAssigned
62
- - name : AZURE_CLIENT_ID
63
- value : <MANAGED-IDENTITY-CLIENT-ID>
53
+ env :
54
+ - name : INGESTION_URL
55
+ value : <INGESTION_URL>
56
+ - name : LISTENING_PORT
57
+ value : ' 8081'
58
+ - name : IDENTITY_TYPE
59
+ value : userAssigned
60
+ - name : AZURE_CLIENT_ID
61
+ value : <MANAGED-IDENTITY-CLIENT-ID>
64
62
# Optional parameter
65
- - name : CLUSTER
66
- value : <CLUSTER-NAME>
67
- ` ` `
63
+ - name : CLUSTER
64
+ value : <CLUSTER-NAME>
65
+ ` ` `
0 commit comments