blob: b185c168d6162add318389989095c836fc3ff3ab [file] [log] [blame]
David Bainbridge2f9b76f2019-05-15 13:48:11 -07001# Copyright 2019-present Open Networking Foundation
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 Bainbridge8595b3b2020-06-05 12:23:05 -070014---
David Bainbridge2bdd4302020-06-09 17:13:18 -070015nameOverride: ~
16fullNameOverride: ~
Matteo Scandoloc2c917a2021-04-06 09:15:31 -070017fullHostnameOverride: ~
David Bainbridge2f9b76f2019-05-15 13:48:11 -070018
David Bainbridge60332ae2019-10-11 15:04:13 +000019# Default Values
20# The following are the default values used for every container in the
21# template.
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080022global:
23 stack_name: voltha
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080024 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000025 image_registry: ''
Kent Hagerman42101a82019-06-12 12:52:39 -040026 image_org: "voltha/"
David Bainbridge60332ae2019-10-11 15:04:13 +000027 image_tag: ~
Kent Hagerman42101a82019-06-12 12:52:39 -040028 image_pullPolicy: "Always"
David Bainbridgecd30e542019-05-31 20:52:56 +000029 rw_core:
Matteo Scandolo41e9c132020-06-04 15:11:02 -070030 timeout: "10s"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080031 # Configure Log Correlation
32 log_correlation:
33 enabled: true
34 # Configure Tracing
35 tracing:
36 enabled: true
David Bainbridgecd30e542019-05-31 20:52:56 +000037
David Bainbridge8595b3b2020-06-05 12:23:05 -070038# Default security context under which the containers run
David Bainbridge16b19cc2020-05-29 11:50:44 -070039securityContext:
40 enabled: true
41 fsGroup: 1001
42 runAsUser: 1001
43 runAsGroup: 1001
David Bainbridge2f9b76f2019-05-15 13:48:11 -070044
45# Define connectivity to services on which VOLTHA depends
46services:
47 kafka:
48 adapter:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000049 address: kafka:9092
David Bainbridge2f9b76f2019-05-15 13:48:11 -070050 cluster:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000051 address: kafka:9092
David Bainbridge2f9b76f2019-05-15 13:48:11 -070052
53 # Define connectivity to etcd
54 etcd:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000055 address: etcd:2379
David Bainbridge2f9b76f2019-05-15 13:48:11 -070056
Girish Kumar877af922020-07-31 06:05:32 +000057 # Define Tracing Agent connection details
58 tracing_agent:
59 address: jaeger-agent:6831
60
Jonathan Hart3980b742020-04-20 11:00:54 -070061 # Define the list of controllers to connect to
David Bainbridge2f9b76f2019-05-15 13:48:11 -070062 controller:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000063 - address: onos-openflow:6653
David Bainbridge2f9b76f2019-05-15 13:48:11 -070064
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070065# Expose the golang pprof webserver, if enabled
66profiler:
67 enabled: false
68
Girish Kumar877af922020-07-31 06:05:32 +000069# Define the replica count for everything
David Bainbridge2f9b76f2019-05-15 13:48:11 -070070replicas:
71 # For R/W cores the templates translate the number of replicas
72 # into the number of RW core pairs with two pods per pair
73 rw_core: 1
74
75 # For everything else replicas are replicas
David Bainbridge2f9b76f2019-05-15 13:48:11 -070076 ofagent: 1
David Bainbridge2f9b76f2019-05-15 13:48:11 -070077
David Bainbridgecd30e542019-05-31 20:52:56 +000078rw_core:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080079 log_level: '{{ .Values.global.log_level }}'
80 core_timeout: '{{ .Values.global.rw_core.timeout }}'
81 timeout_long_request: '{{ .Values.global.rw_core.timeout }}'
82 timeout_request: '{{ .Values.global.rw_core.timeout }}'
83 kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
Himani Chawlaafd8e842021-03-25 01:32:59 +053084 stack_id: "{{ .Values.global.stack_name }}"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080085 topics:
86 core_topic: "{{ .Values.global.stack_name }}_rwcore"
Matteo Scandolo06ee58c2021-05-26 15:28:51 -070087 event_topic: "voltha.events"
David Bainbridgecd30e542019-05-31 20:52:56 +000088
David K. Bainbridge707022f2020-01-23 14:15:07 -080089ofagent:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080090 log_level: '{{ .Values.global.log_level }}'
Matteo Scandolo06ee58c2021-05-26 15:28:51 -070091 device_refresh_interval: '15s'
David K. Bainbridge707022f2020-01-23 14:15:07 -080092
David Bainbridge2f9b76f2019-05-15 13:48:11 -070093# Define Docker images to be used
94images:
David Bainbridge60018ec2020-06-02 13:32:30 -070095 ofagent:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080096 registry: '{{ .Values.global.image_registry }}'
97 repository: '{{ .Values.global.image_org }}voltha-ofagent-go'
Andrea Campanellad87c6c72021-05-07 13:16:34 +020098 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}1.6.1{{- end }}{{- else }}1.6.1{{- end }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080099 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
Matteo Scandoloccea27b2020-03-18 15:25:05 -0700100
David Bainbridge2f9b76f2019-05-15 13:48:11 -0700101 rw_core:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800102 registry: '{{ .Values.global.image_registry }}'
103 repository: '{{ .Values.global.image_org }}voltha-rw-core'
Andrea Campanellad87c6c72021-05-07 13:16:34 +0200104 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}2.9.1{{- end }}{{- else }}2.9.1{{- end }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800105 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
David K. Bainbridge637751d2021-03-25 22:18:08 +0000106
107ingress:
108 enabled: false
109 annotations:
110 kubernetes.io/ingress.class: "nginx"
111 nginx.ingress.kubernetes.io/ssl-redirect: "true"
112 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
113 nginx.ingress.kubernetes.io/grpc-backend: "true"
114 enableVirtualHosts: false
Matteo Scandoloc2c917a2021-04-06 09:15:31 -0700115 baseHostname: local
David K. Bainbridge637751d2021-03-25 22:18:08 +0000116 hosts:
117 - host:
118 paths:
119 - "/voltha.VolthaService/"
120 tls: []