forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathistio-operator.yaml
More file actions
90 lines (90 loc) · 2.42 KB
/
istio-operator.yaml
File metadata and controls
90 lines (90 loc) · 2.42 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
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
metadata:
name: istio-controlplane
namespace: istio-operator
spec:
# https://istio.io/latest/news/releases/1.9.x/announcing-1.9/#mirroring-of-images-on-gcr-io
hub: gcr.io/istio-release
tag: 1.10.2-distroless
meshConfig:
accessLogFile: /dev/stdout
enableTracing: true
defaultConfig:
tracing:
sampling: 100.0
components:
pilot:
k8s:
replicaCount: 2
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- istiod
topologyKey: kubernetes.io/hostname
weight: 1
hpaSpec:
maxReplicas: 2
minReplicas: 2
podDisruptionBudget:
minAvailable: 1
selector:
matchLabels:
app: istiod
strategy:
rollingUpdate:
maxSurge: 100%
maxUnavailable: 50%
ingressGateways:
- name: istio-ingressgateway
enabled: true
k8s:
replicaCount: 2
podDisruptionBudget:
minAvailable: 1
selector:
matchLabels:
app: istio-ingressgateway
istio: ingressgateway
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- istio-ingressgateway
topologyKey: kubernetes.io/hostname
weight: 1
hpaSpec:
maxReplicas: 2
minReplicas: 2
strategy:
rollingUpdate:
maxSurge: 100%
maxUnavailable: 50%
resources:
limits:
cpu: 200m
memory: 400Mi
requests:
cpu: 200m
memory: 400Mi
service:
# only allow these ports
ports:
- name: http
port: 80
targetPort: 8080
- name: https
port: 443
targetPort: 8443
externalTrafficPolicy: Cluster