Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T, ZTE |
Mandeep Khinda | b1f9efe | 2018-03-28 19:01:55 +0000 | [diff] [blame] | 3 | # |
| 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 Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Sylvain Desbureaux | 1694e1d | 2020-08-21 09:58:25 +0200 | [diff] [blame] | 21 | readinessImage: onap/oom/readiness:3.0.1 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 22 | loggingRepository: docker.elastic.co |
| 23 | loggingImage: beats/filebeat:5.5.0 |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 24 | 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 Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 36 | |
| 37 | ################################################################# |
| 38 | # Application configuration defaults. |
| 39 | ################################################################# |
| 40 | # application image |
| 41 | repository: nexus3.onap.org:10001 |
ChrisC | 7ab5731 | 2020-08-12 16:24:38 +0200 | [diff] [blame] | 42 | image: onap/sdc-backend-all-plugins:1.7.1 |
| 43 | backendInitImage: onap/sdc-backend-init:1.7.1 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 44 | pullPolicy: Always |
| 45 | |
| 46 | # flag to enable debugging - application support required |
| 47 | debugEnabled: false |
| 48 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 49 | #environment file |
| 50 | env: |
| 51 | name: AUTO |
| 52 | |
| 53 | certInitializer: |
| 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 Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 76 | config: |
r.bogacki | 65cb1ac | 2019-09-03 09:27:24 +0200 | [diff] [blame] | 77 | javaOptions: "-Xmx1536m -Xms1536m" |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 78 | cassandraSslEnabled: "false" |
| 79 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 80 | # default number of instances |
| 81 | replicaCount: 1 |
| 82 | |
| 83 | nodeSelector: {} |
| 84 | |
| 85 | affinity: {} |
| 86 | |
| 87 | # probe configuration parameters |
| 88 | liveness: |
Yang Xu | e5d5e68 | 2019-06-19 18:20:31 -0400 | [diff] [blame] | 89 | initialDelaySeconds: 120 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 90 | periodSeconds: 10 |
Yang Xu | 8560854 | 2019-06-16 23:25:32 -0400 | [diff] [blame] | 91 | timeoutSeconds: 5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 92 | # necessary to disable liveness probe when setting breakpoints |
| 93 | # in debugger so K8s doesn't restart unresponsive container |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 94 | port: api |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 95 | enabled: true |
| 96 | |
| 97 | readiness: |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 98 | initialDelaySeconds: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 99 | periodSeconds: 10 |
Yang Xu | 8560854 | 2019-06-16 23:25:32 -0400 | [diff] [blame] | 100 | timeoutSeconds: 5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 101 | |
| 102 | service: |
| 103 | type: NodePort |
| 104 | name: sdc-be |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 105 | both_tls_and_plain: true |
| 106 | msb: |
| 107 | - port: 8080 |
| 108 | url: "/sdc/v1" |
| 109 | version: "v1" |
| 110 | protocol: "REST" |
| 111 | visualRange: "1" |
| 112 | serviceName: sdc |
| 113 | - port: 8080 |
| 114 | url: "/sdc/v1" |
| 115 | version: "v1" |
| 116 | protocol: "REST" |
| 117 | visualRange: "1" |
| 118 | serviceName: sdc-deprecated |
| 119 | ports: |
| 120 | - name: api |
| 121 | port: 8443 |
| 122 | plain_port: 8080 |
| 123 | port_protocol: http |
| 124 | nodePort: '04' |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 125 | |
| 126 | ingress: |
| 127 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 128 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 129 | - baseaddr: "sdc.api.be" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 130 | name: "sdc-be" |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 131 | port: 8443 |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 132 | config: |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 133 | ssl: "redirect" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 134 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 135 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 136 | # Resource Limit flavor -By Default using small |
| 137 | flavor: small |
| 138 | # Segregation for Different environment (Small and Large) |
| 139 | resources: |
| 140 | small: |
| 141 | limits: |
| 142 | cpu: 1 |
| 143 | memory: 4Gi |
| 144 | requests: |
| 145 | cpu: 10m |
| 146 | memory: 1Gi |
| 147 | large: |
| 148 | limits: |
| 149 | cpu: 2 |
| 150 | memory: 8Gi |
| 151 | requests: |
| 152 | cpu: 20m |
| 153 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 154 | unlimited: {} |