-
Notifications
You must be signed in to change notification settings - Fork 4
/
values.yaml
82 lines (72 loc) · 2.46 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
prometheusOperator:
podAnnotations:
sidecar.istio.io/inject: 'false'
galley.istio.io/analyze-suppress: IST0103 # No sidecar
admissionWebhooks:
patch:
podAnnotations:
sidecar.istio.io/inject: 'false'
galley.istio.io/analyze-suppress: IST0103 # No sidecar
prometheus:
prometheusSpec:
# Override auto-generated `alertingEndpoints` with mTLS certs:
alertingEndpoints:
- name: prometheus-kube-prometheus-alertmanager
namespace: metrics
port: http-web
pathPrefix: /
apiVersion: v2
scheme: https
tlsConfig:
caFile: /etc/istio-certs/root-cert.pem
keyFile: /etc/istio-certs/key.pem
certFile: /etc/istio-certs/cert-chain.pem
insecureSkipVerify: true
volumeMounts:
- name: istio-certs
mountPath: /etc/istio-certs/
readOnly: true
podMetadata:
# Write Istio certificates to a volume accessible by Prometheus:
annotations:
sidecar.istio.io/rewriteAppHTTPProbers: 'true'
sidecar.istio.io/userVolume: '[{"name": "istio-certs", "emptyDir": {"medium": "Memory"}}]'
sidecar.istio.io/userVolumeMount: '[{"name": "istio-certs", "mountPath": "/etc/istio-certs/"}]'
proxy.istio.io/config: |-
proxyMetadata:
OUTPUT_CERTS: /etc/istio-certs/
alertmanager:
alertmanagerSpec:
podMetadata:
annotations:
sidecar.istio.io/rewriteAppHTTPProbers: 'true'
traffic.sidecar.istio.io/excludeInboundPorts: '9094' # Cluster autodiscovery.
traffic.sidecar.istio.io/excludeOutboundPorts: '9094' # Cluster autodiscovery.
serviceMonitor:
scheme: https
tlsConfig:
caFile: /etc/istio-certs/root-cert.pem
keyFile: /etc/istio-certs/key.pem
certFile: /etc/istio-certs/cert-chain.pem
insecureSkipVerify: true
kube-state-metrics:
podAnnotations:
sidecar.istio.io/rewriteAppHTTPProbers: 'true'
grafana:
podAnnotations:
sidecar.istio.io/rewriteAppHTTPProbers: 'true'
prometheus-node-exporter:
nodeSelector:
beta.kubernetes.io/os: linux
podAnnotations:
galley.istio.io/analyze-suppress: IST0103 # No sidecar
# These components are running on the AKS master nodes and not accessible by my deployments.
# However, this patching approach can be applied to them as well.
kubeProxy:
enabled: false # Enable once https://github.com/Azure/AKS/issues/1695 is released
kubeEtcd:
enabled: false
kubeControllerManager:
enabled: false
kubeScheduler:
enabled: false