forked from helm/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
359 lines (292 loc) · 8.62 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
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
# Enable RBAC
rbac:
create: true
security:
enable: false
# Create ServiceAccount
serviceAccount:
# Specifies whether a ServiceAccount should be created
create: true
# The name of the ServiceAccount to use.
# If not set and create is true, a name is generated using the fullname template
name:
controller:
name: controller
image:
repository: quay.io/jcmoraisjr/haproxy-ingress
tag: "v0.7.1"
pullPolicy: IfNotPresent
## Additional command line arguments to pass to haproxy-ingress-controller
## E.g. to specify the default SSL certificate you can use
## extraArgs:
## default-ssl-certificate: "<namespace>/<secret_name>"
## reload-strategy: "reusesocket"
extraArgs: {}
## Additional environment variables to set
extraEnvs: []
# extraEnvs:
# - name: FOO
# valueFrom:
# secretKeyRef:
# key: FOO
# name: secret-resource
## Additional containers that can initialize the pod.
initContainers: []
# custom haproxy template
template: ""
## Required only if defaultBackend.enabled = false
## Must be <namespace>/<service_name>
##
defaultBackendService: ""
## Name of the ingress class to route through this controller
##
ingressClass: haproxy
healthzPort: 10253
## Liveness and readiness probe values
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
##
livenessProbe:
path: /healthz
port: 10253
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
path: /healthz
port: 10253
failureThreshold: 3
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
## Annotations to be added to controller pods
##
podAnnotations: {}
## Labels to be added to the controller pods
##
podLabels: {}
## Affinity to be added to controller pods
##
podAffinity: {}
## Priority Class to be used
##
priorityClassName: ""
## Security context settings to be added to the controller pods
##
securityContext: {}
# sysctls:
# - name: net.ipv4.ip_local_port_range
# value: "1024 65535"
# ConfigMap to configure haproxy ingress
config: {}
# Required for use with CNI based kubernetes installations (such as ones set up by kubeadm),
# since CNI and hostport don't mix yet. Can be deprecated once https://github.com/kubernetes/kubernetes/issues/23920
# is merged
hostNetwork: false
# Optionally change this to ClusterFirstWithHostNet in case you have 'hostNetwork: true'.
# By default, while using host network, name resolution uses the host's DNS. If you wish nginx-controller
# to keep resolving names inside the k8s network, use ClusterFirstWithHostNet.
dnsPolicy: ClusterFirst
## DaemonSet or Deployment
##
kind: Deployment
# TCP service key:value pairs
# <port>: <namespace>/<servicename>:<portnumber>[:[<in-proxy>][:<out-proxy>]]
# https://github.com/jcmoraisjr/haproxy-ingress/tree/v0.6#tcp-services-configmap
tcp: {}
# 8080: "default/example-tcp-svc:9000"
# optionally disable static ports, including the default 80 and 443
enableStaticPorts: true
## Use host ports 80 and 443
daemonset:
useHostPort: false
hostPorts:
http: 80
https: 443
# List of ports from controller.tcp map
tcp: []
# The update strategy to apply to the Deployment or DaemonSet
##
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
# minReadySeconds to avoid killing pods before we are ready
##
minReadySeconds: 0
# Deployment
replicaCount: 1
# PodDisruptionBudget
minAvailable: 1
resources: {}
# limits:
# cpu: 100m
# memory: 64Mi
# requests:
# cpu: 100m
# memory: 64Mi
autoscaling:
enabled: false
# minReplicas: 1
# maxReplicas: 11
# targetCPUUtilizationPercentage: 50
# targetMemoryUtilizationPercentage: 50
customMetrics: []
## Node tolerations for server scheduling to nodes with taints
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
##
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
affinity: {}
## Node labels for controller pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
service:
annotations: {}
labels: {}
clusterIP: ""
## List of IP addresses at which the controller services are available
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
##
externalIPs: []
loadBalancerIP: ""
loadBalancerSourceRanges: []
httpPorts:
- port: 80
# nodePort:
httpsPorts:
- port: 443
# nodePort:
## Set external traffic policy to: "Local" to preserve source IP on
## providers supporting it
## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer
externalTrafficPolicy: ""
healthCheckNodePort: 0
type: LoadBalancer
stats:
enabled: false
port: 1936
service:
annotations: {}
clusterIP: ""
## List of IP addresses at which the stats service is available
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
##
externalIPs: []
loadBalancerIP: ""
loadBalancerSourceRanges: []
servicePort: 1936
type: ClusterIP
## If controller.stats.enabled = true and controller.metrics.enabled = true, Prometheus metrics will be exported
##
metrics:
enabled: false
# prometheus exporter for haproxy
# https://github.com/prometheus/haproxy_exporter
# (scrapes the stats port and exports metrics to prometheus)
image:
repository: quay.io/prometheus/haproxy-exporter
tag: "v0.10.0"
pullPolicy: IfNotPresent
## Additional command line arguments to pass to haproxy_exporter
## E.g. to specify the client timeout you can use
## extraArgs:
## haproxy.timeout: 15s
extraArgs: {}
resources: {}
# limits:
# cpu: 500m
# memory: 600Mi
# requests:
# cpu: 200m
# memory: 400Mi
service:
annotations: {}
# prometheus.io/scrape: "true"
# prometheus.io/port: "10254"
clusterIP: ""
## List of IP addresses at which the stats-exporter service is available
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
##
externalIPs: []
loadBalancerIP: ""
loadBalancerSourceRanges: []
servicePort: 9101
type: ClusterIP
## access-logs side-car container for collecting haproxy logs
## Enabling this will configure haproxy to emit logs to syslog localhost:514 UDP port.
## The access-logs container starts a syslog process that listens on UDP 514 and outputs to stdout.
logs:
enabled: false
# syslog for haproxy
# https://github.com/whereisaaron/kube-syslog-sidecar
# (listens on UDP port 514 and outputs to stdout)
image:
repository: whereisaaron/kube-syslog-sidecar
tag: latest
pullPolicy: IfNotPresent
resources: {}
# limits:
# cpu: 200m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 32Mi
# Default 404 backend
defaultBackend:
## If false, controller.defaultBackendService must be provided
##
enabled: true
name: default-backend
image:
repository: gcr.io/google_containers/defaultbackend
tag: "1.0"
pullPolicy: IfNotPresent
## Node tolerations for server scheduling to nodes with taints
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
##
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
affinity: {}
## Node labels for default backend pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## Annotations to be added to default backend pods
##
podAnnotations: {}
# labels to add to the pod container metadata
podLabels: {}
# key: value
# Deployment
replicaCount: 1
# PodDisruptionBudget
minAvailable: 1
resources:
limits:
cpu: 10m
memory: 20Mi
# requests:
# cpu: 10m
# memory: 20Mi
service:
name: ingress-default-backend
annotations: {}
clusterIP: ""
## List of IP addresses at which the default backend service is available
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
##
externalIPs: []
loadBalancerIP: ""
loadBalancerSourceRanges: []
servicePort: 8080
type: ClusterIP