blob: 10af85f60d1fbe45b532247b70843345930b42e4 [file] [log] [blame]
Joey Armstrong1c399052024-02-10 13:23:13 -05001# Copyright 2019-2024 Open Networking Foundation (ONF) and the ONF Contributors
David Bainbridgecd30e542019-05-31 20:52:56 +00002#
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 Bainbridge8595b3b2020-06-05 12:23:05 -070014---
David Bainbridge2bdd4302020-06-09 17:13:18 -070015nameOverride: ~
16fullNameOverride: ~
David Bainbridgecd30e542019-05-31 20:52:56 +000017
David Bainbridgecd30e542019-05-31 20:52:56 +000018# Default overrides
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080019global:
khenaidoo15c53fb2021-08-09 13:56:27 -040020 voltha_release_name: voltha
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080021 stack_name: voltha
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080022 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000023 image_registry: ""
Andy Bavier9a4566b2019-11-05 09:24:58 -070024 image_tag: ~
David Bainbridge5cb5d172019-07-24 02:30:19 +000025 image_org: "voltha/"
26 image_pullPolicy: "Always"
khenaidoo15c53fb2021-08-09 13:56:27 -040027 core_endpoint: "{{ .Values.global.voltha_release_name }}-{{ .Values.global.stack_name }}-core.{{ .Release.Namespace }}.svc:55558"
Matteo Scandolo81f668c2022-06-23 12:26:55 -070028 # timeout for RPC request
nikesh.krishnan8f782182023-06-17 01:45:13 +053029 rpc_timeout: "20s"
Andrea Campanella6838a802020-11-19 15:50:23 +010030 adapter_open_olt:
31 timeout: "5s"
Girish Gowdrae8c44bd2021-03-17 10:30:44 -070032 heartbeat_check_interval: "15s"
33 heartbeat_fail_interval: "31s"
Abhilash Laxmeshwar81d18fc2022-06-24 19:26:06 +053034 check_onu_exist_on_discovery: false
nikesh.krishnan8f782182023-06-17 01:45:13 +053035 per_rpc_retry_timeout : "5s"
36 rpc_retry: "4"
akashreddyk9a1c32e2025-09-23 09:27:06 +053037 producer_retry_max: "10"
38 metadata_retry_max: "15"
Sridhar Ravindra42790b02025-08-04 16:57:28 +053039 force_onu_disc_processing: false
Joey Armstrongcb98c462022-12-17 22:46:45 -050040 # enable OMCC encryption
kesavand00d081e2020-08-31 11:47:44 +053041 omcc_encryption: false
Joey Armstrongcb98c462022-12-17 22:46:45 -050042 # enable ONU stats
Gamze Abakaba10c7b2020-12-17 14:37:25 +000043 enable_onu_stats: false
Joey Armstrongcb98c462022-12-17 22:46:45 -050044 # enable GEM stats
Gamze Abakaba10c7b2020-12-17 14:37:25 +000045 enable_gem_stats: false
David Bainbridgecd30e542019-05-31 20:52:56 +000046
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080047 # Configure Log Correlation
48 log_correlation:
49 enabled: true
50
51 # Configure Tracing
52 tracing:
53 enabled: true
54
khenaidoo15c53fb2021-08-09 13:56:27 -040055# Probe values
56probe:
57 liveness:
58 initial_delay_seconds: 3
59 period_seconds: 3
60 readiness:
61 initial_delay_seconds: 3
62 period_seconds: 3
63
David Bainbridge8595b3b2020-06-05 12:23:05 -070064# Default security context under which the containers run
65securityContext:
66 enabled: true
67 fsGroup: 1001
68 runAsUser: 1001
69 runAsGroup: 1001
70
Girish Gowdra12231512020-06-29 13:00:48 -070071# Node Affinity Configuration
72nodeAffinityConfig:
73 enabled: false
74 node_label_key: "in-band"
75 node_label_value: "yes"
76
David Bainbridgecd30e542019-05-31 20:52:56 +000077# Define connectivity to required services
78services:
79 kafka:
David Bainbridgecd30e542019-05-31 20:52:56 +000080 cluster:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000081 address: kafka:9092
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080082
abhaycd295062024-12-12 11:05:07 +053083 # Define connectivity to kvstore
84 kvstore:
85 # type: etcd, redis or redis-sentinel
86 type: etcd
Neha Sharma1a3da1c2020-06-24 13:12:48 +000087 address: etcd:2379
David Bainbridgecd30e542019-05-31 20:52:56 +000088
Girish Kumar877af922020-07-31 06:05:32 +000089 # Define Tracing Agent connection details
90 tracing_agent:
91 address: jaeger-agent:6831
92
Abhay Kumar2955cea2025-12-23 08:31:20 +000093serviceMonitor:
94 enable: false
95
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070096# Expose the golang pprof webserver, if enabled
97profiler:
98 enabled: false
99
Girish Gowdrae8c44bd2021-03-17 10:30:44 -0700100# Define the replica count for everything
David Bainbridgecd30e542019-05-31 20:52:56 +0000101replicas:
serkant.uluderyaf1b8cc72020-05-13 23:26:51 -0700102 current_replica: 1
103 total_replica: 1
David Bainbridgecd30e542019-05-31 20:52:56 +0000104
Matteo Scandolo1d7ab922019-12-10 13:41:23 -0800105adapter_open_olt:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800106 log_level: '{{ .Values.global.log_level }}'
107 kv_store_timeout: '{{ .Values.global.adapter_open_olt.timeout }}'
108 kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
Girish Gowdrae8c44bd2021-03-17 10:30:44 -0700109 heartbeat_check_interval: '{{ .Values.global.adapter_open_olt.heartbeat_check_interval }}'
110 heartbeat_fail_interval: '{{ .Values.global.adapter_open_olt.heartbeat_fail_interval }}'
Joey Armstrongcb98c462022-12-17 22:46:45 -0500111 check_onu_exist_on_discovery: '{{ .Values.global.adapter_open_olt.check_onu_exist_on_discovery }}'
Matteo Scandolo81f668c2022-06-23 12:26:55 -0700112 rpc_timeout: '{{ .Values.global.rpc_timeout }}'
nikesh.krishnane95b52f2023-03-14 11:17:48 +0530113 rpc_retry: '{{ .Values.global.adapter_open_olt.rpc_retry }}'
114 per_rpc_retry_timeout : '{{ .Values.global.adapter_open_olt.per_rpc_retry_timeout }}'
Sridhar Ravindra42790b02025-08-04 16:57:28 +0530115 force_onu_disc_processing: '{{ .Values.global.adapter_open_olt.force_onu_disc_processing }}'
akashreddyk9a1c32e2025-09-23 09:27:06 +0530116 producer_retry_max : '{{ .Values.global.adapter_open_olt.producer_retry_max }}'
117 metadata_retry_max : '{{ .Values.global.adapter_open_olt.metadata_retry_max }}'
khenaidoo15c53fb2021-08-09 13:56:27 -0400118 endpoints:
119 # core_endpoint: '{{ .Values.global.adapter_open_olt.core_endpoint }}'
120 # adapter_endpoint: '{{ template "fullname" . }}-api:55560'
121 address: '{{ template "fullname" . }}-api'
122 port: 50060
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800123 topics:
Matteo Scandolo06ee58c2021-05-26 15:28:51 -0700124 event_topic: "voltha.events"
Matteo Scandolo1d7ab922019-12-10 13:41:23 -0800125
David Bainbridgecd30e542019-05-31 20:52:56 +0000126images:
127 adapter_open_olt:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800128 registry: '{{ .Values.global.image_registry }}'
129 repository: '{{ .Values.global.image_org }}voltha-openolt-adapter'
130 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}{{ .Chart.AppVersion }}{{- end }}{{- else }}{{ .Chart.AppVersion }}{{- end }}'
131 pullPolicy: '{{ .Values.global.image_pullPolicy | default "Always" }}'
Andrey Pozolotin7e928a92021-08-13 12:37:24 +0200132
133resources:
134 requests:
135 cpu: 0.5
136 memory: 256Mi
137 limits:
138 cpu: ~
139 memory: ~
Andrey Pozolotinda75c922021-08-24 17:41:08 +0200140
141# Define scheduling rules for stack pods
142scheduleRules:
143 preferStackPodsOnSameNode: false
144 preferStacksOnDifferentNodes: false