blob: ac0403b8897d99c5dde196557114730dc8492496 [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T, ZTE
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
Mandeep Khindaa1047f42018-03-22 02:12:15 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Mandeep Khindaa1047f42018-03-22 02:12:15 +000021 readinessRepository: oomk8s
Mahendra Raghuwanshi35f83f52019-03-20 10:42:49 +000022 readinessImage: readiness-check:2.0.2
Mandeep Khindaa1047f42018-03-22 02:12:15 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25
26#################################################################
27# Application configuration defaults.
28#################################################################
29# application image
30repository: nexus3.onap.org:10001
Ofir Sonsino04da1c22020-05-24 14:03:11 +030031image: onap/sdc-backend:1.6.6
32backendInitImage: onap/sdc-backend-init:1.6.6
Mandeep Khindaa1047f42018-03-22 02:12:15 +000033pullPolicy: Always
34
35# flag to enable debugging - application support required
36debugEnabled: false
37
Mandeep Khinda403c1c12018-04-19 23:15:43 +000038config:
r.bogacki65cb1ac2019-09-03 09:27:24 +020039 javaOptions: "-Xmx1536m -Xms1536m"
Mandeep Khinda403c1c12018-04-19 23:15:43 +000040 cassandraSslEnabled: "false"
41
Mandeep Khindaa1047f42018-03-22 02:12:15 +000042# default number of instances
43replicaCount: 1
44
45nodeSelector: {}
46
47affinity: {}
48
49# probe configuration parameters
50liveness:
Yang Xue5d5e682019-06-19 18:20:31 -040051 initialDelaySeconds: 120
Mandeep Khindaa1047f42018-03-22 02:12:15 +000052 periodSeconds: 10
Yang Xu85608542019-06-16 23:25:32 -040053 timeoutSeconds: 5
Mandeep Khindaa1047f42018-03-22 02:12:15 +000054 # necessary to disable liveness probe when setting breakpoints
55 # in debugger so K8s doesn't restart unresponsive container
gummara72e6de2020-03-12 11:15:56 +000056 port: api
Mandeep Khindaa1047f42018-03-22 02:12:15 +000057 enabled: true
58
59readiness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000060 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000061 periodSeconds: 10
Yang Xu85608542019-06-16 23:25:32 -040062 timeoutSeconds: 5
Mandeep Khindaa1047f42018-03-22 02:12:15 +000063
64service:
65 type: NodePort
66 name: sdc-be
gummara72e6de2020-03-12 11:15:56 +000067 both_tls_and_plain: true
68 msb:
69 - port: 8080
70 url: "/sdc/v1"
71 version: "v1"
72 protocol: "REST"
73 visualRange: "1"
74 serviceName: sdc
75 - port: 8080
76 url: "/sdc/v1"
77 version: "v1"
78 protocol: "REST"
79 visualRange: "1"
80 serviceName: sdc-deprecated
81 ports:
82 - name: api
83 port: 8443
84 plain_port: 8080
85 port_protocol: http
86 nodePort: '04'
Mandeep Khindaa1047f42018-03-22 02:12:15 +000087
88ingress:
89 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +010090 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +000091 - baseaddr: "sdc.api.be"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +010092 name: "sdc-be"
gummara72e6de2020-03-12 11:15:56 +000093 port: 8443
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +010094 config:
gummara72e6de2020-03-12 11:15:56 +000095 ssl: "redirect"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +010096
Mandeep Khindaa1047f42018-03-22 02:12:15 +000097
Mukula93baa82018-09-19 15:56:58 +000098# Resource Limit flavor -By Default using small
99flavor: small
100# Segregation for Different environment (Small and Large)
101resources:
102 small:
103 limits:
104 cpu: 1
105 memory: 4Gi
106 requests:
107 cpu: 10m
108 memory: 1Gi
109 large:
110 limits:
111 cpu: 2
112 memory: 8Gi
113 requests:
114 cpu: 20m
115 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000116 unlimited: {}