blob: 5903c919e728a83ad1ff1cdb843895898c39fbc7 [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
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
Mandeep Khindaa1047f42018-03-22 02:12:15 +000022 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
ChrisC742a7b22020-09-04 11:29:57 +020024 aafEnabled: true
25 cassandra:
26 #This flag allows SDC to instantiate its own cluster, serviceName
27 #should be sdc-cs if this flag is enabled
28 localCluster: false
29 #The cassandra service name to connect to (default: shared cassandra service)
30 serviceName: cassandra
31 #Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
32 #to match with its own cluster replica
33 replicaCount: 3
34 clusterName: cassandra
35 dataCenter: Pod
Mandeep Khindaa1047f42018-03-22 02:12:15 +000036
37#################################################################
38# Application configuration defaults.
39#################################################################
40# application image
41repository: nexus3.onap.org:10001
sebdetd47afec2020-11-17 19:08:12 +010042image: onap/sdc-backend-all-plugins:1.7.3
43backendInitImage: onap/sdc-backend-init:1.7.3
Mandeep Khindaa1047f42018-03-22 02:12:15 +000044pullPolicy: Always
45
46# flag to enable debugging - application support required
47debugEnabled: false
48
ChrisC742a7b22020-09-04 11:29:57 +020049#environment file
50env:
51 name: AUTO
52
53certInitializer:
54 nameOverride: sdc-be-cert-init
55 aafDeployFqi: deployer@people.osaaf.org
56 aafDeployPass: demo123456!
57 fqdn: sdc
58 fqi: sdc@sdc.onap.org
59 public_fqdn: sdc.onap.org
60 cadi_longitude: "0.0"
61 cadi_latitude: "0.0"
62 app_ns: org.osaaf.aaf
63 credsPath: /opt/app/osaaf/local
64 addconfig: true
65 keystoreFile: "org.onap.sdc.p12"
66 truststoreFile: "org.onap.sdc.trust.jks"
67 permission_user: 352070
68 permission_group: 35953
69 aaf_add_config: >
70 /opt/app/aaf_config/bin/agent.sh local showpass
71 {{.Values.fqi}} {{ .Values.fqdn }} > {{ .Values.credsPath }}/mycreds.prop
72
73#################################################################
74# SDC Config part
75#################################################################
Mandeep Khinda403c1c12018-04-19 23:15:43 +000076config:
r.bogacki65cb1ac2019-09-03 09:27:24 +020077 javaOptions: "-Xmx1536m -Xms1536m"
Mandeep Khinda403c1c12018-04-19 23:15:43 +000078 cassandraSslEnabled: "false"
79
Mandeep Khindaa1047f42018-03-22 02:12:15 +000080# default number of instances
81replicaCount: 1
82
83nodeSelector: {}
84
85affinity: {}
86
87# probe configuration parameters
88liveness:
Yang Xue5d5e682019-06-19 18:20:31 -040089 initialDelaySeconds: 120
Mandeep Khindaa1047f42018-03-22 02:12:15 +000090 periodSeconds: 10
Yang Xu85608542019-06-16 23:25:32 -040091 timeoutSeconds: 5
Mandeep Khindaa1047f42018-03-22 02:12:15 +000092 # necessary to disable liveness probe when setting breakpoints
93 # in debugger so K8s doesn't restart unresponsive container
gummara72e6de2020-03-12 11:15:56 +000094 port: api
Mandeep Khindaa1047f42018-03-22 02:12:15 +000095 enabled: true
96
97readiness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000098 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000099 periodSeconds: 10
Yang Xu85608542019-06-16 23:25:32 -0400100 timeoutSeconds: 5
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000101
102service:
103 type: NodePort
104 name: sdc-be
gummara72e6de2020-03-12 11:15:56 +0000105 both_tls_and_plain: true
106 msb:
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000107 - port: 8443
gummara72e6de2020-03-12 11:15:56 +0000108 url: "/sdc/v1"
109 version: "v1"
110 protocol: "REST"
111 visualRange: "1"
112 serviceName: sdc
Satoshi Fujii51bb5422020-10-14 03:04:03 +0000113 enable_ssl: true
gummara72e6de2020-03-12 11:15:56 +0000114 - port: 8080
115 url: "/sdc/v1"
116 version: "v1"
117 protocol: "REST"
118 visualRange: "1"
119 serviceName: sdc-deprecated
120 ports:
121 - name: api
122 port: 8443
123 plain_port: 8080
124 port_protocol: http
125 nodePort: '04'
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000126
127ingress:
128 enabled: false
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100129 service:
Lucjan Bryndza05649652020-04-29 08:52:33 +0000130 - baseaddr: "sdc.api.be"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100131 name: "sdc-be"
gummara72e6de2020-03-12 11:15:56 +0000132 port: 8443
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100133 config:
gummara72e6de2020-03-12 11:15:56 +0000134 ssl: "redirect"
Lucjan Bryndzaa0abab12019-11-28 11:00:50 +0100135
Mandeep Khindaa1047f42018-03-22 02:12:15 +0000136
Mukula93baa82018-09-19 15:56:58 +0000137# Resource Limit flavor -By Default using small
138flavor: small
139# Segregation for Different environment (Small and Large)
140resources:
141 small:
142 limits:
143 cpu: 1
ChrisC32172342020-10-02 16:39:13 +0200144 memory: 2Gi
Mukula93baa82018-09-19 15:56:58 +0000145 requests:
ChrisC32172342020-10-02 16:39:13 +0200146 cpu: 100m
Mukula93baa82018-09-19 15:56:58 +0000147 memory: 1Gi
148 large:
149 limits:
150 cpu: 2
ChrisC32172342020-10-02 16:39:13 +0200151 memory: 4Gi
Mukula93baa82018-09-19 15:56:58 +0000152 requests:
ChrisC32172342020-10-02 16:39:13 +0200153 cpu: 200m
Mukula93baa82018-09-19 15:56:58 +0000154 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000155 unlimited: {}