-
Notifications
You must be signed in to change notification settings - Fork 148
/
values.yaml
884 lines (869 loc) · 39.6 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
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
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
# Default values for akri.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# useLatestContainers is specified if the latest or latest-dev
# tags should be used. This will be overridden if *.image.tag
# is specified.
useLatestContainers: false
# useDevelopmentContainers is specified if the non-release (*-dev)
# tags should be used. This will be overridden if *.image.tag
# is specified.
useDevelopmentContainers: true
# imagePullSecrets is the array of secrets needed to pull images.
# This can be set from the helm command line using `--set imagePullSecrets[0].name="mysecret"`
imagePullSecrets: []
cleanupHook:
# enabled defines whether to enable the Helm pre-delete hook to cleanup
# Configurations during chart deletion. Also applies associated RBAC for the
# hook. More information on Helm hooks:
# https://helm.sh/docs/topics/charts_hooks/
enabled: true
# generalize references to `apiGroups` and `apiVersion` values for Akri CRDs
crds:
group: akri.sh
version: v0
rbac:
# enabled defines whether to apply rbac to Akri
enabled: true
prometheus:
# enabled defines whether metrics ports are exposed on
# the Controller and Agent
enabled: false
# endpoint is the path the port exposed for metrics
endpoint: /metrics
# port is the port that the metrics service is exposed on
port: 8080
# portName is the name of the metrics port
portName: metrics
controller:
# enabled defines whether to apply the Akri Controller
enabled: true
image:
# repository is the Akri Controller container reference
repository: ghcr.io/project-akri/akri/controller
# tag is the Akri Controller container tag
# controller.yaml will default to v(AppVersion)[-dev]
# with `-dev` added if `useDevelopmentContainers` is specified
tag:
# pullPolicy is the Akri Controller pull policy
pullPolicy: "Always"
# ensures container doesn't run with unnecessary priviledges
securityContext:
runAsUser: 1000
allowPrivilegeEscalation: false
runAsNonRoot: true
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
# onlyOnControlPlane dictates whether the Akri Controller will only run on nodes with
# the label with (key, value) of ("node-role.kubernetes.io/master", "")
onlyOnControlPlane: false
# allowOnControlPlane dictates whether a toleration will be added to allow to Akri Controller
# to run on the control plane node
allowOnControlPlane: true
# nodeSelectors is the array of nodeSelectors used to target nodes for the Akri Controller to run on
# This can be set from the helm command line using `--set controller.nodeSelectors.label="value"`
nodeSelectors: {}
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 11Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 100Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 26m
agent:
# enabled defines whether to apply the Akri Agent
enabled: true
# full specifies that the `agent-full` image should be used which has embedded Discovery Handlers
full: false
image:
# repository is the Akri Agent container reference
repository: ghcr.io/project-akri/akri/agent
# fullRepository is the container reference for the Akri Agent with embedded Discovery Handlers
fullRepository: ghcr.io/project-akri/akri/agent-full
# tag is the Akri Agent container tag
# agent.yaml will default to v(AppVersion)[-dev]
# with `-dev` added if `useDevelopmentContainers` is specified
tag:
# pullPolicy is the Akri Agent pull policy
pullPolicy: ""
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
host:
# discoveryHandlers is the location of Akri Discovery Handler sockets and
# the agent registration service
discoveryHandlers: /var/lib/akri
# kubeletDevicePlugins is the location of the kubelet device-plugin sockets
kubeletDevicePlugins: /var/lib/kubelet/device-plugins
# kubeletPodResources is the location of the kubelet pod-resources socket
kubeletPodResources: /var/lib/kubelet/pod-resources
# udev is the node path of udev, usually at `/run/udev`
udev:
# allowDebugEcho dictates whether the Akri Agent will allow DebugEcho Configurations
allowDebugEcho: false
# nodeSelectors is the array of nodeSelectors used to target nodes for the Akri Agent to run on
# This can be set from the helm command line using `--set agent.nodeSelectors.label="value"`
nodeSelectors: {}
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 11Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 79Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 26m
custom:
configuration:
# enabled defines whether to load a custom configuration
enabled: false
# name is the Kubernetes resource name that will be created for this
# custom configuration
name: akri-custom
# discoveryHandlerName is the name of the Discovery Handler the Configuration is using
discoveryHandlerName:
# brokerProperties is a map of properties that will be passed to any instances
# created as a result of applying this custom configuration
brokerProperties: {}
# capacity is the capacity for any instances created as a result of
# applying this custom configuration
capacity: 1
# discoveryDetails is the string of discovery details that is
# passed to a Discovery Handler which can parse it into an expected format.
discoveryDetails: ""
brokerPod:
image:
# repository is the custom broker container reference
repository:
# tag is the custom broker image tag
tag: latest
# pullPolicy is the custom pull policy
pullPolicy: ""
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 11Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 24Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 24m
brokerJob:
# container used by custom
image:
# repository is the custom broker container reference
repository:
# tag is the custom broker image tag
tag: latest
# pullPolicy is the custom pull policy
pullPolicy: ""
# command to be executed in the Pod. An array of arguments. Can be set like:
# --set custom.configuration.brokerJob.command[0]="sh" \
# --set custom.configuration.brokerJob.command[1]="-c" \
# --set custom.configuration.brokerJob.command[2]="echo 'Hello World'"
command:
# restartPolicy for the Job. Can either be OnFailure or Never.
restartPolicy: OnFailure
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 11Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 24Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 24m
# backoffLimit defines the Kubernetes Job backoff failure policy. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy
backoffLimit: 2
# parallelism defines how many Pods of a Job should run in parallel. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#parallel-jobs
parallelism: 1
# completions defines how many Pods of a Job should successfully complete. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job
completions: 1
# createInstanceServices is specified if a service should automatically be
# created for each broker pod
createInstanceServices: true
instanceService:
# name is the description of the instance service
name: akri-custom-instance-service
# type is the service type of the instance service
type: ClusterIP
# port is the service port of the instance service
port: 6052
# targetPort is the service targetPort of the instance service
targetPort: 6052
# protocol is the service protocol of the instance service
protocol: TCP
# createConfigurationService is specified if a single service should automatically be
# created for all broker pods of a Configuration
createConfigurationService: true
configurationService:
# name is the description of the configuration service
name: akri-custom-configuration-service
# type is the service type of the instance service
type: ClusterIP
# port is the service port of the instance service
port: 6052
# targetPort is the service targetPort of the instance service
targetPort: 6052
# protocol is the service protocol of the instance service
protocol: TCP
# discovery defines a set of values for a custom discovery handler DaemonSet
discovery:
# enabled defines whether discovery handler pods will be deployed in a slim Agent scenario
enabled: false
# name is the Kubernetes resource name that will be created for this
# custom Discovery Handler DaemonSet
name: akri-custom-discovery
image:
# repository is the custom broker container reference
repository:
# tag is the custom broker image tag
tag: latest
# pullPolicy is the pull policy
pullPolicy: ""
# useNetworkConnection specifies whether the discovery handler should make a networked connection
# with Agents, using its pod IP address when registering
useNetworkConnection: false
# port specifies (when useNetworkConnection is true) the port on which the discovery handler advertises its discovery service
port: 10000
# nodeSelectors is the array of nodeSelectors used to target nodes for the discovery handler to run on
# This can be set from the helm command line using `--set custom.discovery.nodeSelectors.label="value"`
nodeSelectors: {}
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 11Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 24Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 24m
debugEcho:
configuration:
# enabled defines whether to load a debugEcho configuration
enabled: false
# name is the Kubernetes resource name that will be created for this
# debugEcho configuration
name: akri-debug-echo
# brokerProperties is a map of properties that will be passed to any instances
# created as a result of applying this debugEcho configuration
brokerProperties: {}
# capacity is the capacity for any instances created as a result of
# applying this debugEcho configuration
capacity: 2
discoveryDetails:
# descriptions is the list of instances created as a result of
# applying this debugEcho configuration
descriptions:
- "foo0"
- "foo1"
# shared defines whether instances created as a result of
# applying this debugEcho configuration are shared
shared: true
brokerPod:
# container used by debugEcho
image:
# repository is the debugEcho broker container reference
repository:
# tag is the debugEcho broker image tag
tag: latest
# pullPolicy is the debugEcho pull policy
pullPolicy: ""
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 10Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 30Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 29m
brokerJob:
# container used by debugEcho
image:
# repository is the debugEcho broker container reference
repository:
# tag is the debugEcho broker image tag
tag: latest
# pullPolicy is the debugEcho pull policy
pullPolicy: ""
# command to be executed in the Pod. An array of arguments. Can be set like:
# --set debugEcho.configuration.brokerJob.command[0]="sh" \
# --set debugEcho.configuration.brokerJob.command[1]="-c" \
# --set debugEcho.configuration.brokerJob.command[2]="echo 'Hello World'" \
command:
# restartPolicy for the Job. Can either be OnFailure or Never.
restartPolicy: OnFailure
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 10Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 30Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 29m
# backoffLimit defines the Kubernetes Job backoff failure policy. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy
backoffLimit: 2
# parallelism defines how many Pods of a Job should run in parallel. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#parallel-jobs
parallelism: 1
# completions defines how many Pods of a Job should successfully complete. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job
completions: 1
# createInstanceServices is specified if a service should automatically be
# created for each broker pod
createInstanceServices: true
instanceService:
# name is the description of the instance service
name: akri-debug-echo-foo-instance-service
# type is the service type of the instance service
type: ClusterIP
# port is the service port of the instance service
port: 6052
# targetPort is the service targetPort of the instance service
targetPort: 6052
# protocol is the service protocol of the instance service
protocol: TCP
# createConfigurationService is specified if a single service should automatically be
# created for all broker pods of a Configuration
createConfigurationService: true
configurationService:
# name is the description of the configuration service
name: akri-debug-echo-foo-configuration-service
# type is the service type of the instance service
type: ClusterIP
# port is the service port of the instance service
port: 6052
# targetPort is the service targetPort of the instance service
targetPort: 6052
# protocol is the service protocol of the instance service
protocol: TCP
# discovery defines a set of values for a debugEcho discovery handler DaemonSet
discovery:
# enabled defines whether discovery handler pods will be deployed in a slim Agent scenario
enabled: false
image:
# repository is the container reference
repository: ghcr.io/project-akri/akri/debug-echo-discovery
# tag is the container tag
# debug-echo-configuration.yaml will default to v(AppVersion)[-dev]
# with `-dev` added if `useDevelopmentContainers` is specified
tag:
# pullPolicy is the pull policy
pullPolicy: ""
# useNetworkConnection specifies whether the discovery handler should make a networked connection
# with Agents, using its pod IP address when registering
useNetworkConnection: false
# port specifies (when useNetworkConnection is true) the port on which the discovery handler advertises its discovery service
port: 10000
# nodeSelectors is the array of nodeSelectors used to target nodes for the discovery handler to run on
# This can be set from the helm command line using `--set debugEcho.discovery.nodeSelectors.label="value"`
nodeSelectors: {}
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 11Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 24Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 26m
onvif:
configuration:
# enabled defines whether to load a onvif configuration
enabled: false
# name is the Kubernetes resource name that will be created for this
# onvif configuration
name: akri-onvif
# brokerProperties is a map of properties that will be passed to any instances
# created as a result of applying this onvif configuration
brokerProperties: {}
discoveryDetails:
ipAddresses:
action: Exclude
items: []
macAddresses:
action: Exclude
items: []
scopes:
action: Exclude
items: []
uuids:
action: Exclude
items: []
discoveryTimeoutSeconds: 1
# discoveryProperties is a map of properties fthat will be passed to discovery handler,
# the properties can be direct specified or read from Secret or ConfigMap
discoveryProperties:
# capacity is the capacity for any instances created as a result of
# applying this onvif configuration
capacity: 1
brokerPod:
image:
# repository is the onvif broker container reference
repository:
# tag is the onvif broker image tag
tag: latest
# pullPolicy is the Akri onvif broker pull policy
pullPolicy: ""
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 98Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 134m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 400Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 2800m
brokerJob:
# container used by onvif
image:
# repository is the onvif broker container reference
repository:
# tag is the onvif broker image tag
tag: latest
# pullPolicy is the onvif pull policy
pullPolicy: ""
# command to be executed in the Pod. An array of arguments. Can be set like:
# --set onvif.configuration.brokerJob.command[0]="sh" \
# --set onvif.configuration.brokerJob.command[1]="-c" \
# --set onvif.configuration.brokerJob.command[2]="echo 'Hello World'"
command:
# restartPolicy for the Job. Can either be OnFailure or Never.
restartPolicy: OnFailure
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 98Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 134m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 400Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 2800m
# backoffLimit defines the Kubernetes Job backoff failure policy. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy
backoffLimit: 2
# parallelism defines how many Pods of a Job should run in parallel. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#parallel-jobs
parallelism: 1
# completions defines how many Pods of a Job should successfully complete. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job
completions: 1
# createInstanceServices is specified if a service should automatically be
# created for each broker pod
createInstanceServices: true
instanceService:
# name is the description of the instance service
name: akri-onvif-instance-service
# type is the service type of the instance service
type: ClusterIP
# portName is the name of the port
portName: grpc
# port is the service port of the instance service
port: 80
# targetPort is the service targetPort of the instance service
targetPort: 8083
# protocol is the service protocol of the instance service
protocol: TCP
# createConfigurationService is specified if a single service should automatically be
# created for all broker pods of a Configuration
createConfigurationService: true
configurationService:
# name is the description of the configuration service
name: akri-onvif-configuration-service
# type is the service type of the instance service
type: ClusterIP
# portName is the name of the port
portName: grpc
# port is the service port of the instance service
port: 80
# targetPort is the service targetPort of the instance service
targetPort: 8083
# protocol is the service protocol of the instance service
protocol: TCP
# discovery defines a set of values for a onvif discovery handler DaemonSet
discovery:
# enabled defines whether discovery handler pods will be deployed in a slim Agent scenario
enabled: false
image:
# repository is the container reference
repository: ghcr.io/project-akri/akri/onvif-discovery
# tag is the container tag
# onvif-configuration.yaml will default to v(AppVersion)[-dev]
# with `-dev` added if `useDevelopmentContainers` is specified
tag:
# pullPolicy is the pull policy
pullPolicy: ""
# useNetworkConnection specifies whether the discovery handler should make a networked connection
# with Agents, using its pod IP address when registering
useNetworkConnection: false
# port specifies (when useNetworkConnection is true) the port on which the discovery handler advertises its discovery service
port: 10000
# nodeSelectors is the array of nodeSelectors used to target nodes for the discovery handler to run on
# This can be set from the helm command line using `--set onvif.discovery.nodeSelectors.label="value"`
nodeSelectors: {}
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 11Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 24Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 24m
opcua:
configuration:
# enabled defines whether to load an OPC UA configuration
enabled: false
# name is the Kubernetes resource name that will be created for this
# OPC UA configuration
name: akri-opcua
# brokerProperties is a map of properties that will be passed to any instances
# created as a result of applying this OPC UA configuration
brokerProperties: {}
discoveryDetails:
# discoveryUrls is a list of DiscoveryUrls for OPC UA servers
discoveryUrls:
- "opc.tcp://localhost:4840/"
# applicationNames is a filter applied to the discovered OPC UA servers to either exclusively
# include or exclude servers with application names in the applicationNames list.
applicationNames:
action: Exclude
items: []
# mountCertificates determines whether to mount into the broker pods k8s Secrets
# containing OPC UA client credentials for connecting to OPC UA severs with the
# same signing certificate authority.
# If set to false, the brokers will attempt to make an insecure connection with the servers.
mountCertificates: false
# capacity is the capacity for any instances created as a result of
# applying this OPC UA configuration
capacity: 1
brokerPod:
image:
# repository is the OPC UA broker container reference
repository:
# tag is the OPC UA broker image tag
tag: latest
# pullPolicy is the OPC UA broker pull policy
pullPolicy: ""
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 76Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 9m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 200Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 30m
brokerJob:
# container used by opcua
image:
# repository is the opcua broker container reference
repository:
# tag is the opcua broker image tag
tag: latest
# pullPolicy is the opcua pull policy
pullPolicy: ""
# command to be executed in the Pod. An array of arguments. Can be set like:
# --set opcua.configuration.brokerJob.command[0]="sh" \
# --set opcua.configuration.brokerJob.command[1]="-c" \
# --set opcua.configuration.brokerJob.command[2]="echo 'Hello World'"
command:
# restartPolicy for the Job. Can either be OnFailure or Never.
restartPolicy: OnFailure
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 76Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 9m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 200Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 30m
# backoffLimit defines the Kubernetes Job backoff failure policy. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy
backoffLimit: 2
# parallelism defines how many Pods of a Job should run in parallel. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#parallel-jobs
parallelism: 1
# completions defines how many Pods of a Job should successfully complete. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job
completions: 1
# createInstanceServices is specified if a service should automatically be
# created for each broker pod
createInstanceServices: true
instanceService:
# name is the description of the instance service
name: akri-opcua-instance-service
# type is the service type of the instance service
type: ClusterIP
# port is the service port of the instance service
port: 80
# targetPort is the service targetPort of the instance service
targetPort: 8083
# protocol is the service protocol of the instance service
protocol: TCP
# createConfigurationService is specified if a single service should automatically be
# created for all broker pods of a Configuration
createConfigurationService: true
configurationService:
# name is the description of the configuration service
name: akri-opcua-configuration-service
# type is the service type of the instance service
type: ClusterIP
# port is the service port of the instance service
port: 80
# targetPort is the service targetPort of the instance service
targetPort: 8083
# protocol is the service protocol of the instance service
protocol: TCP
# discovery defines a set of values for a opcua discovery handler DaemonSet
discovery:
# enabled defines whether discovery handler pods will be deployed in a slim Agent scenario
enabled: false
image:
# repository is the container reference
repository: ghcr.io/project-akri/akri/opcua-discovery
# tag is the container tag
# opcua-configuration.yaml will default to v(AppVersion)[-dev]
# with `-dev` added if `useDevelopmentContainers` is specified
tag:
# pullPolicy is the pull policy
pullPolicy: ""
# useNetworkConnection specifies whether the discovery handler should make a networked connection
# with Agents, using its pod IP address when registering
useNetworkConnection: false
# port specifies (when useNetworkConnection is true) the port on which the discovery handler advertises its discovery service
port: 10000
# nodeSelectors is the array of nodeSelectors used to target nodes for the discovery handler to run on
# This can be set from the helm command line using `--set opcua.discovery.nodeSelectors.label="value"`
nodeSelectors: {}
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 11Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 24Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 24m
udev:
configuration:
# enabled defines whether to load a udev configuration
enabled: false
# name is the Kubernetes resource name that will be created for this
# udev configuration
name: akri-udev
# brokerProperties is a map of properties that will be passed to any instances
# created as a result of applying this udev configuration
brokerProperties: {}
discoveryDetails:
# groupRecursive defines whether to group discovered parent/children under the same instance
groupRecursive: false
# udevRules is the list of udev rules used to find instances created as a result of
# applying this udev configuration
udevRules:
# capacity is the capacity for any instances created as a result of
# applying this udev configuration
capacity: 1
brokerPod:
image:
# repository is the udev broker container reference
repository:
# tag is the udev broker image tag
tag: latest
# pullPolicy is the udev broker pull policy
pullPolicy: ""
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 10Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 30Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 29m
securityContext: {}
brokerJob:
# container used by udev
image:
# repository is the udev broker container reference
repository:
# tag is the udev broker image tag
tag: latest
# pullPolicy is the udev pull policy
pullPolicy: ""
# command to be executed in the Pod. An array of arguments. Can be set like:
# --set udev.configuration.brokerJob.command[0]="sh" \
# --set udev.configuration.brokerJob.command[1]="-c" \
# --set udev.configuration.brokerJob.command[2]="echo 'Hello World'"
command:
# restartPolicy for the Job. Can either be OnFailure or Never.
restartPolicy: OnFailure
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 10Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 30Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 29m
# backoffLimit defines the Kubernetes Job backoff failure policy. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy
backoffLimit: 2
# parallelism defines how many Pods of a Job should run in parallel. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job/#parallel-jobs
parallelism: 1
# completions defines how many Pods of a Job should successfully complete. More info:
# https://kubernetes.io/docs/concepts/workloads/controllers/job
completions: 1
# createInstanceServices is specified if a service should automatically be
# created for each broker pod
createInstanceServices: true
instanceService:
# portName is the name of the port
portName: grpc
# type is the service type of the instance service
type: ClusterIP
# port is the service port of the instance service
port: 80
# targetPort is the service targetPort of the instance service
targetPort: 8083
# protocol is the service protocol of the instance service
protocol: TCP
# createConfigurationService is specified if a single service should automatically be
# created for all broker pods of a Configuration
createConfigurationService: true
configurationService:
# portName is the name of the port
portName: grpc
# type is the service type of the instance service
type: ClusterIP
# port is the service port of the instance service
port: 80
# targetPort is the service targetPort of the instance service
targetPort: 8083
# protocol is the service protocol of the instance service
protocol: TCP
# discovery defines a set of values for a udev discovery handler DaemonSet
discovery:
# enabled defines whether discovery handler pods will be deployed in a slim Agent scenario
enabled: false
image:
# repository is the container reference
repository: ghcr.io/project-akri/akri/udev-discovery
# tag is the container tag
# udev-configuration.yaml will default to v(AppVersion)[-dev]
# with `-dev` added if `useDevelopmentContainers` is specified
tag:
# pullPolicy is the pull policy
pullPolicy: ""
# useNetworkConnection specifies whether the discovery handler should make a networked connection
# with Agents, using its pod IP address when registering
useNetworkConnection: false
# port specifies (when useNetworkConnection is true) the port on which the discovery handler advertises its discovery service
port: 10000
# nodeSelectors is the array of nodeSelectors used to target nodes for the discovery handler to run on
# This can be set from the helm command line using `--set udev.discovery.nodeSelectors.label="value"`
nodeSelectors: {}
host:
# udev is the node path of udev, usually at `/run/udev`
udev: /run/udev
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 11Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 10m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 24Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 24m
# Admission Controllers (Webhooks)
webhookConfiguration:
# enabled defines whether to apply the Akri Admission Controller (Webhook) for Akri Configurations
enabled: true
# name of the webhook
name: akri-webhook-configuration
# base64-encoded CA certificate (PEM) used by Kubernetes to validate the Webhook's certificate, if
# unset, will generate a self-signed certificate valid for 100y
caBundle: null
image:
# repository is the Akri Webhook for Configurations image reference
repository: ghcr.io/project-akri/akri/webhook-configuration
# tag is the container tag
# webhook-configuration.yaml will default to v(AppVersion)[-dev]
# with `-dev` added if `useDevelopmentContainers` is specified
tag:
# pullPolicy is the Akri Webhook pull policy
pullPolicy: Always
certImage:
# reference is the webhook-certgen image reference
reference: registry.k8s.io/ingress-nginx/kube-webhook-certgen
# tag is the webhook-certgen image tag
tag: v1.1.1
# pullPolicy is the webhook-certgen pull policy
pullPolicy: IfNotPresent
# onlyOnControlPlane dictates whether the Akri Webhook will only run on nodes with
# the label with (key, value) of ("node-role.kubernetes.io/master", "")
onlyOnControlPlane: false
# allowOnControlPlane dictates whether a toleration will be added to allow to Akri Webhook
# to run on the control plane node
allowOnControlPlane: true
# nodeSelectors is the array of nodeSelectors used to target nodes for the Akri Webhook to run on
# This can be set from the helm command line using `--set webhookConfiguration.nodeSelectors.label="value"`
nodeSelectors: {}
resources:
# memoryRequest defines the minimum amount of RAM that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
memoryRequest: 100Mi
# cpuRequest defines the minimum amount of CPU that must be available to this Pod
# for it to be scheduled by the Kubernetes Scheduler
cpuRequest: 15m
# memoryLimit defines the maximum amount of RAM this Pod can consume.
memoryLimit: 100Mi
# cpuLimit defines the maximum amount of CPU this Pod can consume.
cpuLimit: 26m