-
Notifications
You must be signed in to change notification settings - Fork 26
/
values.yaml
258 lines (223 loc) · 6.05 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
# Default values for benthos.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
deployment:
replicaCount: 1
podAnnotations: {}
podLabels: {}
# annotations -- Set annotations on the Benthos Deployment
annotations: {}
# Default 60. ref: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
terminationGracePeriodSeconds: 60
# Rollout the deployment on ConfigMap changes
rolloutConfigMap: true
readinessProbe:
failureThreshold: 1
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 2
httpGet:
path: /ready
port: http
# scheme: HTTPS
# httpHeaders:
# - name: My-Header
# value: Bar
livenessProbe:
failureThreshold: 3
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 2
httpGet:
path: /ping
port: http
# scheme: HTTPS
# httpHeaders:
# - name: My-Header
# value: Bar
# podRestartPolicy - Container restart policy. ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
restartPolicy: Always
# commonLabels -- Add additional labels to all created resources.
commonLabels: {}
image:
repository: "jeffail/benthos"
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
podSecurityContext:
{}
# fsGroup: 2000
securityContext:
{}
# capabilities:
# drop:d
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
name: http
type: ClusterIP
port: 80
targetPort: http
protocol: TCP
extraPorts:
# - name: extraPort
# port: 9999
# targetPort: 9999
# protocol: UDP
ingress:
enabled: false
className: ""
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts: []
# - host: chart-example.local
# paths:
# - path: /
# pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
env: []
# - name: KAFKA_USER
# valueFrom:
# secretKeyRef:
# name: s-name
# key: KAFKA_USER
# envFrom -- Define environment variables from Secrets or ConfigMaps. https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/#define-an-environment-variable-for-a-container
envFrom:
[]
# - secretRef:
# name: benthos
resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 12
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 80
# - type: Resource
# resource:
# name: memory
# target:
# type: Utilization
# averageUtilization: 80
# behavior:
# scaleDown:
# stabilizationWindowSeconds: 300
# policies:
# - type: Pods
# value: 1
# periodSeconds: 60
nodeSelector: {}
tolerations: []
affinity: {}
podDisruptionBudget:
# podDisruptionBudget.enabled -- Enable a [PodDisruptionBudget](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) for Benthos.
enabled: false
# podDisruptionBudget.minAvailable -- The number of Pods that must still be available after an eviction.
# minAvailable: 1
# podDisruptionBudget.maxUnavailable -- (int) The number of Pods that can be unavailable after an eviction.
# maxUnavailable: 1
# initContainers -- Init Containers to be added to the Benthos Pods.
initContainers: []
# DeploymentStrategy: https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/
updateStrategy: {}
# type: RollingUpdate
# rollingUpdate:
# maxUnavailable: 1
extraVolumes:
[]
# - name: config-map
# configMap:
# name: cm-name
# - name: secret
# secret:
# secretName: s-name
extraVolumeMounts:
[]
# - name: config-map
# mountPath: /mnt/configmap
# readOnly: true
# - name: secret
# mountPath: /mnt/secret
# readOnly: true
streams:
enabled: false
streamsConfigMap: ""
api:
enable: true
# /benthos.yaml HTTP configuration
http:
# Disabling HTTP server will prevent service and ingress objects from being created.
enabled: true
address: "0.0.0.0:4195"
root_path: "/benthos"
debug_endpoints: false
cors:
enabled: false
# Uncomment and provide list when .Values.http.cors.enabled is true
# allowedOrigins: []
serviceMonitor:
enabled: false
interval: "10s"
scheme: http
# basicAuth:
# username: foo
# password: bar
# tlsConfig:
# ca: my-ca
# cert: my-cert
# keySecret: secret
# metrics:
# prometheus: {}
# tracing:
# openTelemetry:
# http: []
# grpc: []
# tags: {}
# logger:
# level: INFO
# static_fields:
# '@service': benthos
# command -- Command replaces the entrypoint command of the docker
command: []
# args -- Override Benthos's default arguments passed with command.
args: []
# EXPERIMENTAL: watch config files for changes and automatically apply them
watch: false
# Spread incoming Pod in relation to the existing Pods across your cluster. https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#topologyspreadconstraints-field
topologySpreadConstraints: []
# /benthos.yaml configuration
config: {}