forked from kubeovn/kube-ovn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalues.yaml
More file actions
757 lines (707 loc) · 26.6 KB
/
values.yaml
File metadata and controls
757 lines (707 loc) · 26.6 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
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
# -- Global configuration.
# @section -- Global parameters
global:
registry:
address: docker.io/kubeovn
imagePullSecrets: []
images:
kubeovn:
repository: kube-ovn
vpcRepository: vpc-nat-gateway
tag: v1.14.0
support_arm: true
thirdparty: true
# -- Image configuration.
# @section -- Global parameters
# @default -- "{}"
image:
# -- Pull policy for all images.
# @section -- Global parameters
pullPolicy: IfNotPresent
# -- Name override.
# @section -- Global parameters
nameOverride: ""
# -- Full name override.
# @section -- Global parameters
fullnameOverride: ""
# -- Namespace in which the CNI is deployed.
# @section -- Global parameters
namespace: kube-system
# -- Domain used by the cluster.
# @section -- Global parameters
clusterDomain: cluster.local
# -- Comma-separated list of IPs for each master node.
# If not specified, fallback to auto-identifying masters based on "masterNodesLabels"
# @section -- Global parameters
masterNodes: []
# -- Label used to auto-identify masters.
# Any node that has any of these labels will be considered a master node.
# Note: This feature uses Helm "lookup" function, which is not compatible with tools such as ArgoCD.
# @section -- Global parameters
masterNodesLabels:
kube-ovn/role: master
# node-role.kubernetes.io/control-plane: ""
# -- General configuration of the network created by Kube-OVN.
# @section -- Network parameters of the CNI
# @default -- "{}"
networking:
# -- Protocol(s) used by Kube-OVN to allocate IPs to pods and services.
# Can be either IPv4, IPv6 or Dual.
# @section -- Network parameters of the CNI
stack: "IPv4"
# -- Configuration for the default pod subnet.
# If .networking.stack is set to IPv4, only the .v4 key is used.
# If .networking.stack is set to IPv6, only the .v6 key is used.
# If .networking.stack is set to Dual, both keys are used.
# @section -- Network parameters of the CNI
# @default -- "{}"
pods:
# -- Name of the pod subnet once it gets generated in the cluster.
# @section -- Network parameters of the CNI
subnetName: "ovn-default"
# -- CIDR used by the pods subnet.
# @section -- Network parameters of the CNI
# @default -- "{}"
cidr:
# -- IPv4 CIDR.
# @section -- Network parameters of the CNI
v4: "10.16.0.0/16"
# -- IPv6 CIDR.
# @section -- Network parameters of the CNI
v6: "fd00:10:16::/112"
# -- Gateways used in the pod subnet.
# @section -- Network parameters of the CNI
# @default -- "{}"
gateways:
# -- IPv4 gateway.
# @section -- Network parameters of the CNI
v4: "10.16.0.1"
# -- IPv6 gateway.
# @section -- Network parameters of the CNI
v6: "fd00:10:16::1"
# -- Enable default gateway checks
# @section -- Network parameters of the CNI
enableGatewayChecks: true
# -- Enable logical gateways
# @section -- Network parameters of the CNI
enableLogicalGateways: false
# -- Configuration for the service subnet.
# If .networking.stack is set to IPv4, only the .v4 key is used.
# If .networking.stack is set to IPv6, only the .v6 key is used.
# If .networking.stack is set to Dual, both keys are used.
# @section -- Network parameters of the CNI
# @default -- "{}"
services:
# -- CIDR used by the service subnet.
# @section -- Network parameters of the CNI
# @default -- "{}"
cidr:
# -- IPv4 CIDR.
# @section -- Network parameters of the CNI
v4: "10.96.0.0/12"
# -- IPv6 CIDR.
# @section -- Network parameters of the CNI
v6: "fd00:10:96::/112"
# -- Configuration of the "join" subnet, used by the nodes to contact (join) the pods in the default subnet.
# If .networking.stack is set to IPv4, only the .v4 key is used.
# If .networking.stack is set to IPv6, only the .v6 key is used.
# If .networking.stack is set to Dual, both keys are used.
# @section -- Network parameters of the CNI
# @default -- "{}"
join:
# -- Name of the join subnet once it gets generated in the cluster.
# @section -- Network parameters of the CNI
subnetName: "join"
# -- CIDR used by the join subnet.
# @section -- Network parameters of the CNI
# @default -- "{}"
cidr:
# -- IPv4 CIDR.
# @section -- Network parameters of the CNI
v4: "100.64.0.0/16"
# -- IPv6 CIDR.
# @section -- Network parameters of the CNI
v6: "fd00:100:64::/112"
# -- Name of the default VPC once it is generated in the cluster.
# Pods in the default subnet live in this VPC.
# @section -- Network parameters of the CNI
defaultVpcName: "ovn-cluster"
# -- Deploy the CNI with SSL encryption in between components.
# @section -- Network parameters of the CNI
enableSsl: false
# -- Network type can be "geneve" or "vlan".
# @section -- Network parameters of the CNI
networkType: geneve
# -- Tunnel type can be "geneve", "vxlan" or "stt".
# @section -- Network parameters of the CNI
tunnelType: geneve
# -- IPs to exclude from IPAM in the default subnet.
# @section -- Network parameters of the CNI
excludeIps: ""
# -- NIC type used on pods to connect them to the CNI.
# @section -- Network parameters of the CNI
podNicType: "veth-pair"
# -- Enable EIP and SNAT.
# @section -- Network parameters of the CNI
enableEipSnat: true
# -- Comma-separated string of NodeLocal DNS IP addresses.
# @section -- Network parameters of the CNI
nodeLocalDnsIp: ""
# -- Enable listening on the metrics endpoint for the CNI daemons.
# @section -- Network parameters of the CNI
enableMetrics: true
# -- Configuration if we're running on top of a VLAN.
# @section -- Network parameters of the CNI
vlan:
providerName: "provider"
interfaceName: ""
name: "ovn-vlan"
id: "100"
# -- ""
# @section -- Network parameters of the CNI
exchangeLinkName: false
# -- ""
# @section -- Network parameters of the CNI
enableEcmp: false
# -- ""
# @section -- Network parameters of the CNI
enableCompact: false
# -- Features of Kube-OVN we wish to enable/disable.
# @section -- Opt-in/out Features
features:
# -- Enable Kube-OVN loadbalancers
# @section -- Opt-in/out Features
enableLoadbalancer: true
# -- Enable Kube-OVN network policies
# @section -- Opt-in/out Features
enableNetworkPolicies: true
# -- Enable external VPCs
# @section -- Opt-in/out Features
enableExternalVpcs: false
# -- Enable hardware offloads
# @section -- Opt-in/out Features
enableHardwareOffload: false
# -- Enable Kube-OVN loadbalancer services
# @section -- Opt-in/out Features
enableLoadbalancerService: false
# -- Enable persistent VM IPs
# @section -- Opt-in/out Features
enableKeepVmIps: true
# -- Enable secure serving
# @section -- Opt-in/out Features
enableSecureServing: false
# -- Enable underlay to overlay interconnections
# @section -- Opt-in/out Features
enableU2OInterconnections: false
# -- Enable TProxy
# @section -- Opt-in/out Features
enableTproxy: false
# -- Enable OVN interconnections
# @section -- Opt-in/out Features
enableOvnInterconnections: false
# -- Enable NAT gateways
# @section -- Opt-in/out Features
enableNatGateways: true
# -- Enable IPSEC
# @section -- Opt-in/out Features
enableOvnIpsec: false
# -- Enable optimized live migrations for VMs
# @section -- Opt-in/out Features
enableLiveMigrationOptimization: true
ENABLE_BIND_LOCAL_IP: true
LS_DNAT_MOD_DL_DST: true
LS_CT_SKIP_DST_LPORT_IPS: true
ENABLE_ANP: false
ENABLE_DNS_NAME_RESOLVER: false
SET_VXLAN_TX_OFF: false
OVSDB_CON_TIMEOUT: 3
OVSDB_INACTIVITY_TIMEOUT: 10
ENABLE_OVN_LB_PREFER_LOCAL: false
# -- CNI binary/configuration injected on the nodes.
# @section -- CNI configuration
# @default -- "{}"
cni:
# -- Location of the CNI configuration on the node.
# @section -- CNI configuration
configDirectory: "/etc/cni/net.d"
# -- Location on the node where the agent will inject the Kube-OVN binary.
# @section -- CNI configuration
binaryDirectory: "/opt/cni/bin"
# -- Location of the CNI configuration inside the agent's pod.
# @section -- CNI configuration
localConfigFile: "/kube-ovn/01-kube-ovn.conflist"
# -- Location on the node where the CNI will install Kube-OVN's tooling.
# @section -- CNI configuration
toolingDirectory: "/usr/local/bin"
# -- Whether to mount the node's tooling directory into the pod.
# @section -- CNI configuration
mountToolingDirectory: false
# -- Priority of Kube-OVN within the CNI configuration directory on the node.
# Should be a string representing a double-digit integer.
# @section -- CNI configuration
configPriority: "01"
# -- Whether to use Kube-OVN as non-primary CNI. When set to true, Kube-OVN will not allocate/handle primary network interfaces.
# Interfaces are created using Network Attachment Definitions (NADs)
# @section -- CNI configuration
nonPrimaryCNI: false
# -- Configuration of the validating webhook used to verify custom resources before they are pushed to Kubernetes.
# Make sure cert-manager is installed for the generation of certificates for the webhook.
# See https://kubeovn.github.io/docs/stable/en/guide/webhook/
# @section -- Validating webhook configuration
# @default -- "{}"
validatingWebhook:
# -- Enable the deployment of the validating webhook.
# @section -- Validating webhook configuration
enabled: false
# -- Annotations to be added to all top-level kube-ovn-webhook objects (resources under templates/webhook)
# @section -- Validating webhook configuration
annotations: {}
# -- Labels to be added to all top-level kube-ovn-webhook objects (resources under templates/webhook)
# @section -- Validating webhook configuration
labels: {}
# -- Annotations to be added to kube-ovn-webhook pods.
# @section -- Validating webhook configuration
podAnnotations: {}
# -- Labels to be added to kube-ovn-webhook pods.
# @section -- Validating webhook configuration
podLabels: {}
# -- Configuration for the NAT gateways.
# @section -- NAT gateways configuration
# @default -- "{}"
natGw:
# -- Prefix appended to the name of the NAT gateways when generating the Pods.
# If this value is changed after NAT GWs have been provisioned, every NAT gateway will need to be
# manually destroyed and recreated.
# @section -- NAT gateways configuration
namePrefix: "vpc-nat-gw"
# -- Configuration of the BGP sidecar for when a NAT gateway is running in BGP mode.
# @section -- NAT gateways configuration
# @default -- "{}"
bgpSpeaker:
# -- Image used by the NAT gateway sidecar.
# @section -- NAT gateways configuration
# @default -- "{}"
image:
# -- Image repository.
# @section -- NAT gateways configuration
repository: docker.io/kubeovn/kube-ovn
# -- Image tag.
# @section -- NAT gateways configuration
tag: v1.15.0
# -- Image pull policy.
# @section -- NAT gateways configuration
pullPolicy: IfNotPresent
# -- Network attachment definition used to reach the API server when running on BGP mode.
# By default, equals the value set at ".apiNad.provider", you will need to set ".apiNad.enabled" to true.
# See https://kubeovn.github.io/docs/stable/en/advance/with-bgp/
# @section -- NAT gateways configuration
apiNadProvider: "{{ .Values.apiNad.name }}.{{ .Values.namespace }}.ovn"
# -- Configuration for network policies
# @section -- Network Policies
# @default -- "{}"
networkPolicies:
# -- Enforcement level of network policies when they get applied (can be: standard, lax).
# Enforcement "standard" blocks everything except what is allowed by the network policies.
# Enforcement "lax" is similar to "standard" with the exception that ARP/DHCPv4/DHCPv6/ICMPv4/ICMPv6
# is allowed by default. This mode is useful when using Kubevirt and VMs with IPs configured via Kube-OVN's DHCP.
# @section -- Network Policies
enforcement: "standard"
# -- API NetworkAttachmentDefinition to give some pods (CoreDNS, NAT GW) in custom VPCs access to the K8S API.
# This requires Multus to be installed.
# @section -- API Network Attachment Definition configuration
# @default -- "{}"
apiNad:
# -- Enable the creation of the API NAD.
# @section -- API Network Attachment Definition configuration
enabled: false
# -- Name of the NAD.
# @section -- API Network Attachment Definition configuration
name: ovn-kubernetes-api
# -- Name of the provider, must be in the form "nadName.nadNamespace.ovn".
# @section -- API Network Attachment Definition configuration
provider: "{{ .Values.apiNad.name }}.{{ .Values.namespace }}.ovn"
# -- Subnet associated with the NAD, it will have full access to the API server.
# @section -- API Network Attachment Definition configuration
# @default -- "{}"
subnet:
# -- Name of the subnet.
# @section -- API Network Attachment Definition configuration
name: ovn-kubernetes-api
# -- Protocol for the API subnet.
# @section -- API Network Attachment Definition configuration
protocol: Dual
# -- CIDR block used by the API subnet.
# @section -- API Network Attachment Definition configuration
cidrBlock: 100.100.0.0/16,fd00:100:100::/112
# -- Configuration for ovs-ovn, the Open vSwitch/Open Virtual Network daemons.
# @section -- OVS/OVN daemons configuration
# @default -- "{}"
ovsOvn:
# -- Annotations to be added to all top-level ovs-ovn objects (resources under templates/ovs-ovn)
# @section -- OVS/OVN daemons configuration
annotations: {}
# -- Labels to be added to all top-level ovs-ovn objects (resources under templates/ovs-ovn)
# @section -- OVS/OVN daemons configuration
labels: {}
# -- Annotations to be added to ovs-ovn pods.
# @section -- OVS/OVN daemons configuration
podAnnotations: {}
# -- Labels to be added to ovs-ovn pods.
# @section -- OVS/OVN daemons configuration
podLabels: {}
# -- ovs-ovn resource limits & requests.
# ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# @section -- OVS/OVN daemons configuration
resources:
requests:
cpu: "200m"
memory: "200Mi"
limits:
cpu: "2"
memory: "1000Mi"
# -- Disable auto-loading of kernel modules by OVS.
# If this is disabled, you will have to enable the Open vSwitch kernel module yourself.
# @section -- OVS/OVN daemons configuration
disableModulesManagement: false
# -- Directory on the node where Open vSwitch (OVS) lives.
# @section -- OVS/OVN daemons configuration
ovsDirectory: "/etc/origin/openvswitch"
# -- Directory on the node where Open vSwitch (OVS) IPSEC keys live.
ovsIpsecKeysDirectory: "/etc/origin/ovs_ipsec_keys"
# -- Directory on the node where Open Virtual Network (OVN) lives.
# @section -- OVS/OVN daemons configuration
ovnDirectory: "/etc/origin/ovn"
# @section -- OVS/OVN daemons configuration.
ovnRemoteProbeInterval: 10000
# @section -- OVS/OVN daemons configuration.
ovnRemoteOpenflowInterval: 180
# @section -- OVS/OVN daemons configuration.
probeInterval: 180000
# -- DPDK-hybrid support for OVS.
# ref: https://kubeovn.github.io/docs/v1.12.x/en/advance/dpdk/
# @section -- OVS/OVN daemons configuration
# @default -- "{}"
dpdkHybrid:
# -- Enables DPDK-hybrid support on OVS.
# @section -- OVS/OVN daemons configuration
enabled: false
# -- DPDK image tag.
# @section -- OVS/OVN daemons configuration
tag: "v1.14.0-dpdk"
# -- ovs-ovn resource limits & requests when DPDK-hybrid is enabled.
# ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# @section -- OVS/OVN daemons configuration
resources:
requests:
cpu: "200m"
memory: "200Mi"
limits:
hugepages-2Mi: 1Gi
cpu: "2"
memory: "1000Mi"
# -- Configuration for kube-ovn-speaker, the BGP speaker announcing routes to the external world.
# @section -- BGP speaker configuration
# @default -- "{}"
bgpSpeaker:
# -- Enable the kube-ovn-speaker.
# @section -- BGP speaker configuration
enabled: false
# -- Annotations to be added to all top-level kube-ovn-speaker objects (resources under templates/speaker)
# @section -- BGP speaker configuration
annotations: {}
# -- Labels to be added to all top-level kube-ovn-speaker objects (resources under templates/speaker)
# @section -- BGP speaker configuration
labels: {}
# -- Annotations to be added to kube-ovn-speaker pods.
# @section -- BGP speaker configuration
podAnnotations: {}
# -- Labels to be added to kube-ovn-speaker pods.
# @section -- BGP speaker configuration
podLabels: {}
# -- kube-ovn-speaker resource limits & requests.
# ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# @section -- BGP speaker configuration
resources:
requests:
cpu: "500m"
memory: "300Mi"
limits: {}
# -- Node selector to restrict the deployment of the speaker to specific nodes.
# @section -- BGP speaker configuration
nodeSelector: {}
# kubernetes.io/os: "linux"
# ovn.kubernetes.io/bgp: "true"
# -- Args passed to the kube-ovn-speaker pod.
# @section -- BGP speaker configuration
args: []
# - --neighbor-address=10.32.32.1
# - --neighbor-as=65030
# - --cluster-as=65000
# -- Configuration for kube-ovn-pinger, the agent monitoring and returning metrics for OVS/external connectivity.
# @section -- Ping daemon configuration
# @default -- "{}"
pinger:
# -- Annotations to be added to all top-level kube-ovn-pinger objects (resources under templates/pinger)
# @section -- Ping daemon configuration
annotations: {}
# -- Labels to be added to all top-level kube-ovn-pinger objects (resources under templates/pinger)
# @section -- Ping daemon configuration
labels: {}
# -- Annotations to be added to kube-ovn-pinger pods.
# @section -- Ping daemon configuration
podAnnotations: {}
# -- Labels to be added to kube-ovn-pinger pods.
# @section -- Ping daemon configuration
podLabels: {}
# -- kube-ovn-pinger resource limits & requests.
# ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# @section -- Ping daemon configuration
resources:
requests:
cpu: "100m"
memory: "100Mi"
limits:
cpu: "200m"
memory: "400Mi"
# -- kube-ovn-pinger metrics configuration.
# @section -- Ping daemon configuration
# @default -- "{}"
metrics:
# -- Configure the port on which the kube-ovn-monitor service will serve metrics.
# @section -- Ping daemon configuration
port: 8080
# -- Remote targets used by the pinger daemon to determine if the CNI works and has external connectivity.
# @section -- Ping daemon configuration
# @default -- "{}"
targets:
# -- Raw IPv4/6 on which to issue pings.
# @section -- Ping daemon configuration
# @default -- "{}"
externalAddresses:
# -- IPv4 address.
# @section -- Ping daemon configuration
v4: "1.1.1.1"
# -- IPv6 address.
# @section -- Ping daemon configuration
v6: "2606:4700:4700::1111"
# -- Domains to resolve and to ping.
# Make sure the v6 domain resolves both A and AAAA records, while the v4 only resolves A records.
# @section -- Ping daemon configuration
# @default -- "{}"
externalDomain:
# -- Domain name resolving to an IPv4 only (A record)
# @section -- Ping daemon configuration
v4: "kube-ovn.io."
# -- Domain name resolving to an IPv6 and IPv4 only (A/AAAA record)
# @section -- Ping daemon configuration
v6: "google.com."
# -- Configuration for kube-ovn-monitor, the agent monitoring and returning metrics for the northbound/southbound DBs and northd.
# @section -- OVN monitoring daemon configuration
# @default -- "{}"
monitor:
# -- Annotations to be added to all top-level kube-ovn-monitor objects (resources under templates/monitor)
# @section -- OVN monitoring daemon configuration
annotations: {}
# -- Labels to be added to all top-level kube-ovn-monitor objects (resources under templates/monitor)
# @section -- OVN monitoring daemon configuration
labels: {}
# -- Annotations to be added to kube-ovn-monitor pods.
# @section -- OVN monitoring daemon configuration
podAnnotations: {}
# -- Labels to be added to kube-ovn-monitor pods.
# @section -- OVN monitoring daemon configuration
podLabels: {}
# -- kube-ovn-monitor resource limits & requests.
# ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# @section -- OVN monitoring daemon configuration
resources:
requests:
cpu: "200m"
memory: "200Mi"
limits:
cpu: "200m"
memory: "200Mi"
# -- kube-ovn-monitor metrics configuration.
# @section -- OVN monitoring daemon configuration
# @default -- "{}"
metrics:
# -- Configure the port on which the kube-ovn-monitor service will serve metrics.
# @section -- OVN monitoring daemon configuration
port: 10661
# -- Configuration for kube-ovn-controller, the controller responsible for syncing K8s with OVN.
# @section -- Kube-OVN controller configuration
# @default -- "{}"
controller:
# -- Annotations to be added to all top-level kube-ovn-controller objects (resources under templates/controller)
# @section -- Kube-OVN controller configuration
annotations: {}
# -- Labels to be added to all top-level kube-ovn-controller objects (resources under templates/controller)
# @section -- Kube-OVN controller configuration
labels: {}
# -- Annotations to be added to kube-ovn-controller pods.
# @section -- Kube-OVN controller configuration
podAnnotations: {}
# -- Labels to be added to kube-ovn-controller pods.
# @section -- Kube-OVN controller configuration
podLabels: {}
# -- kube-ovn-controller resource limits & requests.
# ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# @section -- Kube-OVN controller configuration
resources:
requests:
cpu: "200m"
memory: "200Mi"
limits:
cpu: "1000m"
memory: "1Gi"
# -- Controller metrics configuration.
# @section -- Kube-OVN controller configuration
# @default -- "{}"
metrics:
# -- Configure the port on which the controller service will serve metrics.
# @section -- Kube-OVN controller configuration
port: 10660
# -- Configuration for ovn-central, the daemon containing the northbound/southbound DBs and northd.
# @section -- OVN-central daemon configuration
# @default -- "{}"
central:
# -- Annotations to be added to all top-level ovn-central objects (resources under templates/central)
# @section -- OVN-central daemon configuration
annotations: {}
# -- Labels to be added to all top-level ovn-central objects (resources under templates/central)
# @section -- OVN-central daemon configuration
labels: {}
# -- Annotations to be added to ovn-central pods.
# @section -- OVN-central daemon configuration
podAnnotations: {}
# -- Labels to be added to ovn-central pods.
# @section -- OVN-central daemon configuration
podLabels: {}
# -- ovn-central resource limits & requests.
# ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# @section -- OVN-central daemon configuration
resources:
requests:
cpu: "300m"
memory: "200Mi"
limits:
cpu: "3"
memory: "4Gi"
# -- ""
# @section -- OVN-central daemon configuration.
ovnNorthdProbeInterval: 5000
# -- ""
# @section -- OVN-central daemon configuration.
ovnNorthdNThreads: 1
# -- ""
# @section -- OVN-central daemon configuration.
ovnLeaderProbeInterval: 5
# -- Configuration for kube-ovn-cni, the agent responsible for handling CNI requests from the CRI.
# @section -- CNI agent configuration
# @default -- "{}"
agent:
# -- Annotations to be added to all top-level agent objects (resources under templates/agent)
# @section -- CNI agent configuration
annotations: {}
# -- Labels to be added to all top-level agent objects (resources under templates/agent)
# @section -- CNI agent configuration
labels: {}
# -- Annotations to be added to the agent pods (kube-ovn-cni)
# @section -- CNI agent configuration
podAnnotations: {}
# -- Labels to be added to the agent pods (kube-ovn-cni)
# @section -- CNI agent configuration
podLabels: {}
# -- Agent daemon resource limits & requests.
# ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# @section -- CNI agent configuration
resources:
requests:
cpu: "100m"
memory: "100Mi"
limits:
cpu: "1000m"
memory: "1Gi"
# -- Agent metrics configuration.
# @section -- CNI agent configuration
# @default -- "{}"
metrics:
# -- Configure the port on which the agent service will serve metrics.
# @section -- CNI agent configuration
port: 10665
# -- Mirroring of the traffic for debug or analysis.
# https://kubeovn.github.io/docs/stable/en/guide/mirror/
# @section -- CNI agent configuration
# @default -- "{}"
mirroring:
# -- Enable mirroring of the traffic.
# @section -- CNI agent configuration
enabled: false
# -- Interface on which to send the mirrored traffic.
# @section -- CNI agent configuration
interface: mirror0
# -- ""
# @section -- CNI agent configuration.
interface: ""
# -- ""
# @section -- CNI agent configuration.
dpdkTunnelInterface: "br-phy"
# -- Kubelet configuration.
# @section -- Kubelet configuration
# @default -- "{}"
kubelet:
# -- Directory in which the kubelet operates.
# @section -- Kubelet configuration
directory: "/var/lib/kubelet"
# -- Logging configuration for all the daemons.
# @section -- Logging configuration
# @default -- "{}"
logging:
# -- Directory in which to write the logs.
# @section -- Kubelet configuration
directory: "/var/log"
# -- Performance tuning parameters.
# @section -- Performance configuration
# @default -- "{}"
performance:
# -- ""
# @section -- Performance configuration
gcInterval: 360
# -- ""
# @section -- Performance configuration
inspectInterval: 20
# -- ""
# @section -- Performance configuration
ovsVsctlConcurrency: 100
# -- Array of extra K8s manifests to deploy.
# Note: Supports use of custom Helm templates (Go templating)
# @section -- Extra objects
extraObjects: []
# - apiVersion: v1
# kind: ConfigMap
# metadata:
# name: cilium-chaining
# data:
# cni-config: |-
# {
# "name": "generic-veth",
# "cniVersion": "0.3.1",
# "plugins": [
# {
# "type": "kube-ovn",
# "server_socket": "/run/openvswitch/kube-ovn-daemon.sock",
# "ipam": {
# "type": "kube-ovn",
# "server_socket": "/run/openvswitch/kube-ovn-daemon.sock"
# }
# },
# {
# "type": "portmap",
# "snat": true,
# "capabilities": {"portMappings": true}
# },
# {
# "type": "cilium-cni"
# }
# ]
# }