Joey Armstrong | 1c39905 | 2024-02-10 13:23:13 -0500 | [diff] [blame] | 1 | # Copyright 2019-2024 Open Networking Foundation (ONF) and the ONF Contributors |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 14 | --- |
David Bainbridge | 2bdd430 | 2020-06-09 17:13:18 -0700 | [diff] [blame] | 15 | nameOverride: ~ |
| 16 | fullNameOverride: ~ |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 17 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 18 | # Default overrides |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 19 | global: |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 20 | voltha_release_name: voltha |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 21 | stack_name: voltha |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 22 | log_level: "WARN" |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 23 | image_registry: "" |
Andy Bavier | 9a4566b | 2019-11-05 09:24:58 -0700 | [diff] [blame] | 24 | image_tag: ~ |
David Bainbridge | 5cb5d17 | 2019-07-24 02:30:19 +0000 | [diff] [blame] | 25 | image_org: "voltha/" |
| 26 | image_pullPolicy: "Always" |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 27 | core_endpoint: "{{ .Values.global.voltha_release_name }}-{{ .Values.global.stack_name }}-core.{{ .Release.Namespace }}.svc:55558" |
Matteo Scandolo | 81f668c | 2022-06-23 12:26:55 -0700 | [diff] [blame] | 28 | # timeout for RPC request |
nikesh.krishnan | 8f78218 | 2023-06-17 01:45:13 +0530 | [diff] [blame] | 29 | rpc_timeout: "20s" |
Andrea Campanella | 6838a80 | 2020-11-19 15:50:23 +0100 | [diff] [blame] | 30 | adapter_open_olt: |
| 31 | timeout: "5s" |
Girish Gowdra | e8c44bd | 2021-03-17 10:30:44 -0700 | [diff] [blame] | 32 | heartbeat_check_interval: "15s" |
| 33 | heartbeat_fail_interval: "31s" |
Abhilash Laxmeshwar | 81d18fc | 2022-06-24 19:26:06 +0530 | [diff] [blame] | 34 | check_onu_exist_on_discovery: false |
nikesh.krishnan | 8f78218 | 2023-06-17 01:45:13 +0530 | [diff] [blame] | 35 | per_rpc_retry_timeout : "5s" |
| 36 | rpc_retry: "4" |
Sridhar Ravindra | 42790b0 | 2025-08-04 16:57:28 +0530 | [diff] [blame^] | 37 | force_onu_disc_processing: false |
Joey Armstrong | cb98c46 | 2022-12-17 22:46:45 -0500 | [diff] [blame] | 38 | # enable OMCC encryption |
kesavand | 00d081e | 2020-08-31 11:47:44 +0530 | [diff] [blame] | 39 | omcc_encryption: false |
Joey Armstrong | cb98c46 | 2022-12-17 22:46:45 -0500 | [diff] [blame] | 40 | # enable ONU stats |
Gamze Abaka | ba10c7b | 2020-12-17 14:37:25 +0000 | [diff] [blame] | 41 | enable_onu_stats: false |
Joey Armstrong | cb98c46 | 2022-12-17 22:46:45 -0500 | [diff] [blame] | 42 | # enable GEM stats |
Gamze Abaka | ba10c7b | 2020-12-17 14:37:25 +0000 | [diff] [blame] | 43 | enable_gem_stats: false |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 44 | |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 45 | # Configure Log Correlation |
| 46 | log_correlation: |
| 47 | enabled: true |
| 48 | |
| 49 | # Configure Tracing |
| 50 | tracing: |
| 51 | enabled: true |
| 52 | |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 53 | # Probe values |
| 54 | probe: |
| 55 | liveness: |
| 56 | initial_delay_seconds: 3 |
| 57 | period_seconds: 3 |
| 58 | readiness: |
| 59 | initial_delay_seconds: 3 |
| 60 | period_seconds: 3 |
| 61 | |
David Bainbridge | 8595b3b | 2020-06-05 12:23:05 -0700 | [diff] [blame] | 62 | # Default security context under which the containers run |
| 63 | securityContext: |
| 64 | enabled: true |
| 65 | fsGroup: 1001 |
| 66 | runAsUser: 1001 |
| 67 | runAsGroup: 1001 |
| 68 | |
Girish Gowdra | 1223151 | 2020-06-29 13:00:48 -0700 | [diff] [blame] | 69 | # Node Affinity Configuration |
| 70 | nodeAffinityConfig: |
| 71 | enabled: false |
| 72 | node_label_key: "in-band" |
| 73 | node_label_value: "yes" |
| 74 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 75 | # Define connectivity to required services |
| 76 | services: |
| 77 | kafka: |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 78 | cluster: |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 79 | address: kafka:9092 |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 80 | |
abhay | cd29506 | 2024-12-12 11:05:07 +0530 | [diff] [blame] | 81 | # Define connectivity to kvstore |
| 82 | kvstore: |
| 83 | # type: etcd, redis or redis-sentinel |
| 84 | type: etcd |
Neha Sharma | 1a3da1c | 2020-06-24 13:12:48 +0000 | [diff] [blame] | 85 | address: etcd:2379 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 86 | |
Girish Kumar | 877af92 | 2020-07-31 06:05:32 +0000 | [diff] [blame] | 87 | # Define Tracing Agent connection details |
| 88 | tracing_agent: |
| 89 | address: jaeger-agent:6831 |
| 90 | |
Matteo Scandolo | e9a01f7 | 2020-05-05 09:33:59 -0700 | [diff] [blame] | 91 | # Expose the golang pprof webserver, if enabled |
| 92 | profiler: |
| 93 | enabled: false |
| 94 | |
Girish Gowdra | e8c44bd | 2021-03-17 10:30:44 -0700 | [diff] [blame] | 95 | # Define the replica count for everything |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 96 | replicas: |
serkant.uluderya | f1b8cc7 | 2020-05-13 23:26:51 -0700 | [diff] [blame] | 97 | current_replica: 1 |
| 98 | total_replica: 1 |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 99 | |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 100 | adapter_open_olt: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 101 | log_level: '{{ .Values.global.log_level }}' |
| 102 | kv_store_timeout: '{{ .Values.global.adapter_open_olt.timeout }}' |
| 103 | kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha' |
Girish Gowdra | e8c44bd | 2021-03-17 10:30:44 -0700 | [diff] [blame] | 104 | heartbeat_check_interval: '{{ .Values.global.adapter_open_olt.heartbeat_check_interval }}' |
| 105 | heartbeat_fail_interval: '{{ .Values.global.adapter_open_olt.heartbeat_fail_interval }}' |
Joey Armstrong | cb98c46 | 2022-12-17 22:46:45 -0500 | [diff] [blame] | 106 | check_onu_exist_on_discovery: '{{ .Values.global.adapter_open_olt.check_onu_exist_on_discovery }}' |
Matteo Scandolo | 81f668c | 2022-06-23 12:26:55 -0700 | [diff] [blame] | 107 | rpc_timeout: '{{ .Values.global.rpc_timeout }}' |
nikesh.krishnan | e95b52f | 2023-03-14 11:17:48 +0530 | [diff] [blame] | 108 | rpc_retry: '{{ .Values.global.adapter_open_olt.rpc_retry }}' |
| 109 | per_rpc_retry_timeout : '{{ .Values.global.adapter_open_olt.per_rpc_retry_timeout }}' |
Sridhar Ravindra | 42790b0 | 2025-08-04 16:57:28 +0530 | [diff] [blame^] | 110 | force_onu_disc_processing: '{{ .Values.global.adapter_open_olt.force_onu_disc_processing }}' |
khenaidoo | 15c53fb | 2021-08-09 13:56:27 -0400 | [diff] [blame] | 111 | endpoints: |
| 112 | # core_endpoint: '{{ .Values.global.adapter_open_olt.core_endpoint }}' |
| 113 | # adapter_endpoint: '{{ template "fullname" . }}-api:55560' |
| 114 | address: '{{ template "fullname" . }}-api' |
| 115 | port: 50060 |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 116 | topics: |
Matteo Scandolo | 06ee58c | 2021-05-26 15:28:51 -0700 | [diff] [blame] | 117 | event_topic: "voltha.events" |
Matteo Scandolo | 1d7ab92 | 2019-12-10 13:41:23 -0800 | [diff] [blame] | 118 | |
David Bainbridge | cd30e54 | 2019-05-31 20:52:56 +0000 | [diff] [blame] | 119 | images: |
| 120 | adapter_open_olt: |
Matteo Scandolo | b4c5f4e | 2020-11-11 12:05:23 -0800 | [diff] [blame] | 121 | registry: '{{ .Values.global.image_registry }}' |
| 122 | repository: '{{ .Values.global.image_org }}voltha-openolt-adapter' |
| 123 | tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}' |
| 124 | pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}' |
Andrey Pozolotin | 7e928a9 | 2021-08-13 12:37:24 +0200 | [diff] [blame] | 125 | |
| 126 | resources: |
| 127 | requests: |
| 128 | cpu: 0.5 |
| 129 | memory: 256Mi |
| 130 | limits: |
| 131 | cpu: ~ |
| 132 | memory: ~ |
Andrey Pozolotin | da75c92 | 2021-08-24 17:41:08 +0200 | [diff] [blame] | 133 | |
| 134 | # Define scheduling rules for stack pods |
| 135 | scheduleRules: |
| 136 | preferStackPodsOnSameNode: false |
| 137 | preferStacksOnDifferentNodes: false |