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 |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 21 | 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 Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 33 | |
| 34 | ################################################################# |
| 35 | # Application configuration defaults. |
| 36 | ################################################################# |
| 37 | # application image |
MichaelMorris | 5daee10 | 2021-09-15 14:31:21 +0100 | [diff] [blame^] | 38 | image: onap/sdc-backend-all-plugins:1.9.3 |
| 39 | backendInitImage: onap/sdc-backend-init:1.9.3 |
Sylvain Desbureaux | 0a1eaf3 | 2020-11-19 17:56:08 +0100 | [diff] [blame] | 40 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 41 | pullPolicy: Always |
| 42 | |
| 43 | # flag to enable debugging - application support required |
| 44 | debugEnabled: false |
| 45 | |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 46 | #environment file |
| 47 | env: |
| 48 | name: AUTO |
| 49 | |
| 50 | certInitializer: |
| 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 |
Sylvain Desbureaux | 575743d | 2021-02-23 16:38:07 +0100 | [diff] [blame] | 66 | aaf_add_config: | |
| 67 | echo "cadi_keystore_password_p12=$cadi_keystore_password_p12" > {{ .Values.credsPath }}/mycreds.prop |
| 68 | echo "cadi_truststore_password=$cadi_truststore_password" >> {{ .Values.credsPath }}/mycreds.prop |
ChrisC | 742a7b2 | 2020-09-04 11:29:57 +0200 | [diff] [blame] | 69 | |
| 70 | ################################################################# |
| 71 | # SDC Config part |
| 72 | ################################################################# |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 73 | config: |
r.bogacki | 65cb1ac | 2019-09-03 09:27:24 +0200 | [diff] [blame] | 74 | javaOptions: "-Xmx1536m -Xms1536m" |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 75 | cassandraSslEnabled: "false" |
| 76 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 77 | # default number of instances |
| 78 | replicaCount: 1 |
| 79 | |
| 80 | nodeSelector: {} |
| 81 | |
| 82 | affinity: {} |
| 83 | |
| 84 | # probe configuration parameters |
| 85 | liveness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 86 | initialDelaySeconds: 1 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 87 | periodSeconds: 10 |
Yang Xu | 8560854 | 2019-06-16 23:25:32 -0400 | [diff] [blame] | 88 | timeoutSeconds: 5 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 89 | successThreshold: 1 |
| 90 | failureThreshold: 3 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 91 | # necessary to disable liveness probe when setting breakpoints |
| 92 | # in debugger so K8s doesn't restart unresponsive container |
| 93 | enabled: true |
| 94 | |
| 95 | readiness: |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 96 | initialDelaySeconds: 1 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 97 | periodSeconds: 10 |
Yang Xu | 8560854 | 2019-06-16 23:25:32 -0400 | [diff] [blame] | 98 | timeoutSeconds: 5 |
Sylvain Desbureaux | 8c9416b | 2021-05-05 11:12:48 +0200 | [diff] [blame] | 99 | successThreshold: 1 |
| 100 | failureThreshold: 3 |
| 101 | |
| 102 | startup: |
| 103 | initialDelaySeconds: 10 |
| 104 | periodSeconds: 10 |
| 105 | timeoutSeconds: 5 |
| 106 | successThreshold: 1 |
| 107 | failureThreshold: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 108 | |
| 109 | service: |
| 110 | type: NodePort |
| 111 | name: sdc-be |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 112 | both_tls_and_plain: true |
Joanna Jeremicz | fe52bf5 | 2021-04-21 14:31:29 +0200 | [diff] [blame] | 113 | internalPort: 8080 |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 114 | msb: |
Satoshi Fujii | 51bb542 | 2020-10-14 03:04:03 +0000 | [diff] [blame] | 115 | - port: 8443 |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 116 | url: "/sdc/v1" |
| 117 | version: "v1" |
| 118 | protocol: "REST" |
| 119 | visualRange: "1" |
| 120 | serviceName: sdc |
Satoshi Fujii | 51bb542 | 2020-10-14 03:04:03 +0000 | [diff] [blame] | 121 | enable_ssl: true |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 122 | - port: 8080 |
| 123 | url: "/sdc/v1" |
| 124 | version: "v1" |
| 125 | protocol: "REST" |
| 126 | visualRange: "1" |
| 127 | serviceName: sdc-deprecated |
| 128 | ports: |
| 129 | - name: api |
| 130 | port: 8443 |
| 131 | plain_port: 8080 |
| 132 | port_protocol: http |
| 133 | nodePort: '04' |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 134 | |
| 135 | ingress: |
| 136 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 137 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 138 | - baseaddr: "sdc.api.be" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 139 | name: "sdc-be" |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 140 | port: 8443 |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 141 | config: |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 142 | ssl: "redirect" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 143 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 144 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 145 | # Resource Limit flavor -By Default using small |
| 146 | flavor: small |
| 147 | # Segregation for Different environment (Small and Large) |
| 148 | resources: |
| 149 | small: |
| 150 | limits: |
| 151 | cpu: 1 |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 152 | memory: 2Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 153 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 154 | cpu: 100m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 155 | memory: 1Gi |
| 156 | large: |
| 157 | limits: |
| 158 | cpu: 2 |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 159 | memory: 4Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 160 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 161 | cpu: 200m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 162 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 163 | unlimited: {} |
farida azmy | 1383b4c | 2021-04-06 12:33:31 +0200 | [diff] [blame] | 164 | |
| 165 | #Pods Service Account |
| 166 | serviceAccount: |
| 167 | nameOverride: sdc-be |
| 168 | roles: |
| 169 | - read |