blob: e9f83b69787cbee7e5c39f4db959195aaa0fbc09 [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
ChrisC742a7b22020-09-04 11:29:57 +020021 aafEnabled: true
22 cassandra:
23 #This flag allows SDC to instantiate its own cluster, serviceName
24 #should be sdc-cs if this flag is enabled
25 localCluster: false
26 #The cassandra service name to connect to (default: shared cassandra service)
27 serviceName: cassandra
28 #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
29 #to match with its own cluster replica
30 replicaCount: 3
31 clusterName: cassandra
32 dataCenter: Pod
Mandeep Khindaa1047f42018-03-22 02:12:15 +000033
34#################################################################
35# Application configuration defaults.
36#################################################################
37# application image
sebdetd47afec2020-11-17 19:08:12 +010038image: onap/sdc-backend-all-plugins:1.7.3
39backendInitImage: onap/sdc-backend-init:1.7.3
Sylvain Desbureaux0a1eaf32020-11-19 17:56:08 +010040
Mandeep Khindaa1047f42018-03-22 02:12:15 +000041pullPolicy: Always
42
43# flag to enable debugging - application support required
44debugEnabled: false
45
ChrisC742a7b22020-09-04 11:29:57 +020046#environment file
47env:
48 name: AUTO
49
50certInitializer:
51 nameOverride: sdc-be-cert-init
52 aafDeployFqi: deployer@people.osaaf.org
53 aafDeployPass: demo123456!
54 fqdn: sdc
55 fqi: sdc@sdc.onap.org
56 public_fqdn: sdc.onap.org
57 cadi_longitude: "0.0"
58 cadi_latitude: "0.0"
59 app_ns: org.osaaf.aaf
60 credsPath: /opt/app/osaaf/local
61 addconfig: true
62 keystoreFile: "org.onap.sdc.p12"
63 truststoreFile: "org.onap.sdc.trust.jks"
64 permission_user: 352070
65 permission_group: 35953
66 aaf_add_config: >
67 /opt/app/aaf_config/bin/agent.sh local showpass
68 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
69
70#################################################################
71# SDC Config part
72#################################################################
Mandeep Khinda403c1c12018-04-19 23:15:43 +000073config:
r.bogacki65cb1ac2019-09-03 09:27:24 +020074 javaOptions: "-Xmx1536m -Xms1536m"
Mandeep Khinda403c1c12018-04-19 23:15:43 +000075 cassandraSslEnabled: "false"
76
Mandeep Khindaa1047f42018-03-22 02:12:15 +000077# default number of instances
78replicaCount: 1
79
80nodeSelector: {}
81
82affinity: {}
83
84# probe configuration parameters
85liveness:
Yang Xue5d5e682019-06-19 18:20:31 -040086 initialDelaySeconds: 120
Mandeep Khindaa1047f42018-03-22 02:12:15 +000087 periodSeconds: 10
Yang Xu85608542019-06-16 23:25:32 -040088 timeoutSeconds: 5
Mandeep Khindaa1047f42018-03-22 02:12:15 +000089 # necessary to disable liveness probe when setting breakpoints
90 # in debugger so K8s doesn't restart unresponsive container
gummara72e6de2020-03-12 11:15:56 +000091 port: api
Mandeep Khindaa1047f42018-03-22 02:12:15 +000092 enabled: true
93
94readiness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000095 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000096 periodSeconds: 10
Yang Xu85608542019-06-16 23:25:32 -040097 timeoutSeconds: 5
Mandeep Khindaa1047f42018-03-22 02:12:15 +000098
99service:
100 type: NodePort
101 name: sdc-be
gummara72e6de2020-03-12 11:15:56 +0000102 both_tls_and_plain: true
103 msb:
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000104 - port: 8443
gummara72e6de2020-03-12 11:15:56 +0000105 url: "/sdc/v1"
106 version: "v1"
107 protocol: "REST"
108 visualRange: "1"
109 serviceName: sdc
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000110 enable_ssl: true
gummara72e6de2020-03-12 11:15:56 +0000111 - port: 8080
112 url: "/sdc/v1"
113 version: "v1"
114 protocol: "REST"
115 visualRange: "1"
116 serviceName: sdc-deprecated
117 ports:
118 - name: api
119 port: 8443
120 plain_port: 8080
121 port_protocol: http
122 nodePort: '04'
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000123
124ingress:
125 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100126 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000127 - baseaddr: "sdc.api.be"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100128 name: "sdc-be"
gummara72e6de2020-03-12 11:15:56 +0000129 port: 8443
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100130 config:
gummara72e6de2020-03-12 11:15:56 +0000131 ssl: "redirect"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100132
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000133
Mukula93baa82018-09-19 15:56:58 +0000134# Resource Limit flavor -By Default using small
135flavor: small
136# Segregation for Different environment (Small and Large)
137resources:
138 small:
139 limits:
140 cpu: 1
ChrisC32172342020-10-02 16:39:13 +0200141 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000142 requests:
ChrisC32172342020-10-02 16:39:13 +0200143 cpu: 100m
Mukula93baa82018-09-19 15:56:58 +0000144 memory: 1Gi
145 large:
146 limits:
147 cpu: 2
ChrisC32172342020-10-02 16:39:13 +0200148 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000149 requests:
ChrisC32172342020-10-02 16:39:13 +0200150 cpu: 200m
Mukula93baa82018-09-19 15:56:58 +0000151 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000152 unlimited: {}