blob: e7e587998eac1d318041b644314ac1cd9a7df7ab [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: ~
David Bainbridge2f9b76f2019-05-15 13:48:11 -070017
David Bainbridge60332ae2019-10-11 15:04:13 +000018# Default Values
19# The following are the default values used for every container in the
20# template.
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080021global:
22 stack_name: voltha
Matteo Scandolo1d7ab922019-12-10 13:41:23 -080023 log_level: "WARN"
David Bainbridge5cb5d172019-07-24 02:30:19 +000024 image_registry: ''
Kent Hagerman42101a82019-06-12 12:52:39 -040025 image_org: "voltha/"
David Bainbridge60332ae2019-10-11 15:04:13 +000026 image_tag: ~
Kent Hagerman42101a82019-06-12 12:52:39 -040027 image_pullPolicy: "Always"
David Bainbridgecd30e542019-05-31 20:52:56 +000028 rw_core:
Matteo Scandolo41e9c132020-06-04 15:11:02 -070029 timeout: "10s"
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080030 # Configure Log Correlation
31 log_correlation:
32 enabled: true
33 # Configure Tracing
34 tracing:
35 enabled: true
David Bainbridgecd30e542019-05-31 20:52:56 +000036
David Bainbridge8595b3b2020-06-05 12:23:05 -070037# Default security context under which the containers run
David Bainbridge16b19cc2020-05-29 11:50:44 -070038securityContext:
39 enabled: true
40 fsGroup: 1001
41 runAsUser: 1001
42 runAsGroup: 1001
David Bainbridge2f9b76f2019-05-15 13:48:11 -070043
44# Define connectivity to services on which VOLTHA depends
45services:
46 kafka:
47 adapter:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000048 address: kafka:9092
David Bainbridge2f9b76f2019-05-15 13:48:11 -070049 cluster:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000050 address: kafka:9092
David Bainbridge2f9b76f2019-05-15 13:48:11 -070051
52 # Define connectivity to etcd
53 etcd:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000054 address: etcd:2379
David Bainbridge2f9b76f2019-05-15 13:48:11 -070055
Girish Kumar877af922020-07-31 06:05:32 +000056 # Define Tracing Agent connection details
57 tracing_agent:
58 address: jaeger-agent:6831
59
Jonathan Hart3980b742020-04-20 11:00:54 -070060 # Define the list of controllers to connect to
David Bainbridge2f9b76f2019-05-15 13:48:11 -070061 controller:
Neha Sharma1a3da1c2020-06-24 13:12:48 +000062 - address: onos-openflow:6653
David Bainbridge2f9b76f2019-05-15 13:48:11 -070063
Matteo Scandoloe9a01f72020-05-05 09:33:59 -070064# Expose the golang pprof webserver, if enabled
65profiler:
66 enabled: false
67
Girish Kumar877af922020-07-31 06:05:32 +000068# Define the replica count for everything
David Bainbridge2f9b76f2019-05-15 13:48:11 -070069replicas:
70 # For R/W cores the templates translate the number of replicas
71 # into the number of RW core pairs with two pods per pair
72 rw_core: 1
73
74 # For everything else replicas are replicas
David Bainbridge2f9b76f2019-05-15 13:48:11 -070075 ofagent: 1
David Bainbridge2f9b76f2019-05-15 13:48:11 -070076
David Bainbridgecd30e542019-05-31 20:52:56 +000077rw_core:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080078 log_level: '{{ .Values.global.log_level }}'
79 core_timeout: '{{ .Values.global.rw_core.timeout }}'
80 timeout_long_request: '{{ .Values.global.rw_core.timeout }}'
81 timeout_request: '{{ .Values.global.rw_core.timeout }}'
82 kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
83 topics:
84 core_topic: "{{ .Values.global.stack_name }}_rwcore"
David Bainbridgecd30e542019-05-31 20:52:56 +000085
David K. Bainbridge707022f2020-01-23 14:15:07 -080086ofagent:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080087 log_level: '{{ .Values.global.log_level }}'
David K. Bainbridge707022f2020-01-23 14:15:07 -080088
David Bainbridge2f9b76f2019-05-15 13:48:11 -070089# Define Docker images to be used
90images:
David Bainbridge60018ec2020-06-02 13:32:30 -070091 ofagent:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080092 registry: '{{ .Values.global.image_registry }}'
93 repository: '{{ .Values.global.image_org }}voltha-ofagent-go'
Andrea Campanella4efdee72021-03-18 18:51:36 +010094 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}1.5.2{{- end }}{{- else }}1.5.2{{- end }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080095 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
Matteo Scandoloccea27b2020-03-18 15:25:05 -070096
David Bainbridge2f9b76f2019-05-15 13:48:11 -070097 rw_core:
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -080098 registry: '{{ .Values.global.image_registry }}'
99 repository: '{{ .Values.global.image_org }}voltha-rw-core'
Matteo Scandoloab27ce42021-03-23 15:54:15 -0700100 tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}2.7.0{{- end }}{{- else }}2.7.0{{- end }}'
Matteo Scandolob4c5f4e2020-11-11 12:05:23 -0800101 pullPolicy: '{{ .Values.global.image_pullPolicy }}'
David K. Bainbridge637751d2021-03-25 22:18:08 +0000102
103ingress:
104 enabled: false
105 annotations:
106 kubernetes.io/ingress.class: "nginx"
107 nginx.ingress.kubernetes.io/ssl-redirect: "true"
108 nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
109 nginx.ingress.kubernetes.io/grpc-backend: "true"
110 enableVirtualHosts: false
111 hosts:
112 - host:
113 paths:
114 - "/voltha.VolthaService/"
115 tls: []