This repository was archived by the owner on Oct 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathdefault.yaml
More file actions
682 lines (655 loc) · 16.7 KB
/
default.yaml
File metadata and controls
682 lines (655 loc) · 16.7 KB
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
apiVersion: operator.istio.io/v1alpha1
kind: IstioOperator
spec:
hub: gcr.io/istio-testing
tag: latest
meshConfig:
rootNamespace: istio-system
# Traffic management feature
components:
base:
enabled: true
pilot:
enabled: true
k8s:
env:
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
hpaSpec:
maxReplicas: 5
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: istio-pilot
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 80
readinessProbe:
httpGet:
path: /ready
port: 8080
initialDelaySeconds: 5
periodSeconds: 30
timeoutSeconds: 5
resources:
requests:
cpu: 500m
memory: 2048Mi
strategy:
rollingUpdate:
maxSurge: "100%"
maxUnavailable: "25%"
# Policy feature
policy:
enabled: true
k8s:
hpaSpec:
maxReplicas: 5
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: istio-policy
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 80
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
strategy:
rollingUpdate:
maxSurge: "100%"
maxUnavailable: "25%"
# Telemetry feature
telemetry:
enabled: true
k8s:
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: GOMAXPROCS
value: "6"
hpaSpec:
maxReplicas: 5
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: istio-telemetry
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 80
replicaCount: 1
resources:
requests:
cpu: 1000m
memory: 1G
limits:
cpu: 4800m
memory: 4G
strategy:
rollingUpdate:
maxSurge: "100%"
maxUnavailable: "25%"
# Security feature
citadel:
enabled: true
k8s:
strategy:
rollingUpdate:
maxSurge: "100%"
maxUnavailable: "25%"
nodeAgent:
enabled: false
# Config management feature
galley:
enabled: true
k8s:
replicaCount: 1
resources:
requests:
cpu: 100m
strategy:
rollingUpdate:
maxSurge: "100%"
maxUnavailable: "25%"
# Auto injection feature
sidecarInjector:
enabled: true
k8s:
replicaCount: 1
strategy:
rollingUpdate:
maxSurge: "100%"
maxUnavailable: "25%"
# Istio Gateway feature
ingressGateways:
- name: istio-ingressgateway
enabled: true
k8s:
hpaSpec:
maxReplicas: 5
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: istio-ingressgateway
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 80
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 2000m
memory: 1024Mi
strategy:
rollingUpdate:
maxSurge: "100%"
maxUnavailable: "25%"
egressGateways:
# Istio CNI feature
cni:
enabled: false
addonComponents:
prometheus:
enabled: true
# Global values passed through to helm global.yaml.
values:
global:
istiod:
enabled: true
logging:
level: "default:info"
logAsJson: false
k8sIngress:
enabled: false
gatewayName: ingressgateway
enableHttps: false
proxy:
image: proxyv2
clusterDomain: "cluster.local"
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 2000m
memory: 1024Mi
concurrency: 2
accessLogFile: ""
accessLogFormat: ""
accessLogEncoding: TEXT
envoyAccessLogService:
enabled: false
host: # example: accesslog-service.istio-system
port: # example: 15000
logLevel: warning
componentLogLevel: "misc:error"
dnsRefreshRate: 300s
protocolDetectionTimeout: 100ms
privileged: false
enableCoreDump: false
statusPort: 15020
readinessInitialDelaySeconds: 1
readinessPeriodSeconds: 2
readinessFailureThreshold: 30
includeIPRanges: "*"
excludeIPRanges: ""
excludeOutboundPorts: ""
kubevirtInterfaces: ""
includeInboundPorts: "*"
excludeInboundPorts: ""
autoInject: enabled
envoyStatsd:
enabled: false
host: # example: statsd-svc.istio-system
port: # example: 9125
envoyMetricsService:
enabled: false
host: # example: metrics-service.istio-system
port: # example: 15000
tlsSettings:
mode: DISABLE # DISABLE, SIMPLE, MUTUAL, ISTIO_MUTUAL
clientCertificate: # example: /etc/istio/ms/cert-chain.pem
privateKey: # example: /etc/istio/ms/key.pem
caCertificates: # example: /etc/istio/ms/root-cert.pem
sni: # example: ms.somedomain
subjectAltNames: []
tcpKeepalive:
probes: 3
time: 10s
interval: 10s
tracer: "zipkin"
proxy_init:
image: proxyv2
resources:
limits:
cpu: 100m
memory: 50Mi
requests:
cpu: 10m
memory: 10Mi
imagePullPolicy: IfNotPresent
certificates: []
operatorManageWebhooks: false
controlPlaneSecurityEnabled: true
disablePolicyChecks: true
policyCheckFailOpen: false
enableTracing: true
tracer:
lightstep:
address: "" # example: lightstep-satellite:443
accessToken: "" # example: abcdefg1234567
secure: true # example: true|false
cacertPath: "" # example: /etc/lightstep/cacert.pem
zipkin:
address: ""
datadog:
address: "$(HOST_IP):8126"
mtls:
enabled: false
auto: true
imagePullSecrets: []
arch:
amd64: 2
s390x: 2
ppc64le: 2
oneNamespace: false
defaultNodeSelector: {}
configValidation: true
meshExpansion:
enabled: false
useILB: false
multiCluster:
enabled: false
clusterName: ""
omitSidecarInjectorConfigMap: false
network: ""
defaultResources:
requests:
cpu: 10m
defaultPodDisruptionBudget:
enabled: true
priorityClassName: ""
useMCP: true
trustDomain: "cluster.local"
outboundTrafficPolicy:
mode: ALLOW_ANY
sds:
enabled: false
udsPath: ""
token:
aud: istio-ca
meshNetworks: {}
localityLbSetting:
enabled: true
enableHelmTest: false
pilot:
autoscaleEnabled: true
autoscaleMin: 1
autoscaleMax: 5
replicaCount: 1
image: pilot
traceSampling: 1.0
configNamespace: istio-config
appNamespaces: []
env: {}
cpu:
targetAverageUtilization: 80
nodeSelector: {}
tolerations: []
podAntiAffinityLabelSelector: []
podAntiAffinityTermLabelSelector: []
keepaliveMaxServerConnectionAge: 30m
enableProtocolSniffingForOutbound: true
enableProtocolSniffingForInbound: false
deploymentLabels:
meshNetworks:
networks: {}
configMap: true
ingress:
ingressService: istio-ingressgateway
ingressControllerMode: "OFF"
ingressClass: istio
policy:
enabled: false
useMCP: true
telemetry:
enabled: true
v2:
enabled: false
mixer:
adapters:
stdio:
enabled: false
outputAsJson: false
prometheus:
enabled: true
metricsExpiryDuration: 10m
kubernetesenv:
enabled: true
stackdriver:
enabled: false
auth:
appCredentials: false
apiKey: ""
serviceAccountPath: ""
tracer:
enabled: false
sampleProbability: 1
useAdapterCRDs: false
telemetry:
image: mixer
replicaCount: 1
autoscaleEnabled: true
sessionAffinityEnabled: false
loadshedding:
mode: enforce
latencyThreshold: 100ms
reportBatchMaxEntries: 100
reportBatchMaxTime: 1s
useMCP: true
env:
GOMAXPROCS: "6"
nodeSelector: {}
tolerations: []
podAntiAffinityLabelSelector: []
podAntiAffinityTermLabelSelector: []
policy:
autoscaleEnabled: true
image: mixer
sessionAffinityEnabled: false
adapters:
kubernetesenv:
enabled: true
useAdapterCRDs: false
galley:
image: galley
enableAnalysis: false
security:
image: citadel
selfSigned: true # indicate if self-signed CA is used.
enableNamespacesByDefault: true
dnsCerts:
istio-pilot-service-account.istio-control: istio-pilot.istio-control
nodeagent:
image: node-agent-k8s
gateways:
istio-egressgateway:
autoscaleEnabled: true
zvpn:
suffix: global
enabled: true
type: ClusterIP
env:
ISTIO_META_ROUTER_MODE: "sni-dnat"
ports:
- port: 80
name: http2
- port: 443
name: https
- port: 15443
targetPort: 15443
name: tls
secretVolumes:
- name: egressgateway-certs
secretName: istio-egressgateway-certs
mountPath: /etc/istio/egressgateway-certs
- name: egressgateway-ca-certs
secretName: istio-egressgateway-ca-certs
mountPath: /etc/istio/egressgateway-ca-certs
istio-ingressgateway:
autoscaleEnabled: true
applicationPorts: ""
debug: info
domain: ""
type: LoadBalancer
zvpn:
enabled: true
suffix: global
sds:
enabled: false
image: node-agent-k8s
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 2000m
memory: 1024Mi
env:
ISTIO_META_ROUTER_MODE: "sni-dnat"
ports:
- port: 15020
targetPort: 15020
name: status-port
- port: 80
targetPort: 80
name: http2
- port: 443
name: https
- port: 15029
targetPort: 15029
name: kiali
- port: 15030
targetPort: 15030
name: prometheus
- port: 15031
targetPort: 15031
name: grafana
- port: 15032
targetPort: 15032
name: tracing
- port: 15443
targetPort: 15443
name: tls
meshExpansionPorts:
- port: 15011
targetPort: 15011
name: tcp-pilot-grpc-tls
- port: 8060
targetPort: 8060
name: tcp-citadel-grpc-tls
- port: 853
targetPort: 853
name: tcp-dns-tls
secretVolumes:
- name: ingressgateway-certs
secretName: istio-ingressgateway-certs
mountPath: /etc/istio/ingressgateway-certs
- name: ingressgateway-ca-certs
secretName: istio-ingressgateway-ca-certs
mountPath: /etc/istio/ingressgateway-ca-certs
sidecarInjectorWebhook:
image: sidecar_injector
enableNamespacesByDefault: false
rewriteAppHTTPProbe: false
selfSigned: false
injectLabel: istio-injection
objectSelector:
enabled: false
autoInject: true
prometheus:
enabled: true
replicaCount: 1
hub: docker.io/prom
tag: v2.15.1
retention: 6h
scrapeInterval: 15s
contextPath: /prometheus
ingress:
enabled: false
hosts:
- prometheus.local
annotations:
tls:
security:
enabled: true
nodeSelector: {}
tolerations: []
podAntiAffinityLabelSelector: []
podAntiAffinityTermLabelSelector: []
grafana:
enabled: false
replicaCount: 1
image:
repository: grafana/grafana
tag: 6.5.2
persist: false
storageClassName: ""
accessMode: ReadWriteMany
security:
enabled: false
secretName: grafana
usernameKey: username
passphraseKey: passphrase
contextPath: /grafana
service:
annotations: {}
name: http
type: ClusterIP
externalPort: 3000
loadBalancerIP:
loadBalancerSourceRanges:
ingress:
enabled: false
hosts:
- grafana.local
annotations:
tls:
datasources:
datasources.yaml:
apiVersion: 1
datasources:
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'istio'
orgId: 1
folder: 'istio'
type: file
disableDeletion: false
options:
path: /var/lib/grafana/dashboards/istio
nodeSelector: {}
tolerations: []
podAntiAffinityLabelSelector: []
podAntiAffinityTermLabelSelector: []
env: {}
envSecrets: {}
tracing:
enabled: false
provider: jaeger
nodeSelector: {}
podAntiAffinityLabelSelector: []
podAntiAffinityTermLabelSelector: []
jaeger:
hub: docker.io/jaegertracing
tag: "1.14"
memory:
max_traces: 50000
spanStorageType: badger
persist: false
storageClassName: ""
accessMode: ReadWriteMany
zipkin:
hub: docker.io/openzipkin
tag: 2.14.2
probeStartupDelay: 200
queryPort: 9411
resources:
limits:
cpu: 300m
memory: 900Mi
requests:
cpu: 150m
memory: 900Mi
javaOptsHeap: 700
maxSpans: 500000
node:
cpus: 2
opencensus:
hub: docker.io/omnition
tag: 0.1.9
resources:
limits:
cpu: "1"
memory: 2Gi
requests:
cpu: 200m
memory: 400Mi
exporters:
stackdriver:
enable_tracing: true
service:
annotations: {}
name: http-query
type: ClusterIP
externalPort: 9411
ingress:
enabled: false
hosts:
annotations:
tls:
istiocoredns:
enabled: false
coreDNSImage: coredns/coredns
coreDNSTag: 1.6.2
coreDNSPluginImage: istio/coredns-plugin:0.2-istio-1.1
kiali:
enabled: false
replicaCount: 1
hub: quay.io/kiali
tag: v1.9
contextPath: /kiali
nodeSelector: {}
podAntiAffinityLabelSelector: []
podAntiAffinityTermLabelSelector: []
ingress:
enabled: false
hosts:
- kiali.local
annotations:
tls:
dashboard:
secretName: kiali
usernameKey: username
passphraseKey: passphrase
viewOnlyMode: false
grafanaURL:
jaegerURL:
prometheusNamespace:
createDemoSecret: false
security:
enabled: false
cert_file: /kiali-cert/cert-chain.pem
private_key_file: /kiali-cert/key.pem
# TODO: derive from operator API
version: ""
clusterResources: true