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 |
sebdet | d47afec | 2020-11-17 19:08:12 +0100 | [diff] [blame] | 38 | image: onap/sdc-backend-all-plugins:1.7.3 |
| 39 | backendInitImage: onap/sdc-backend-init:1.7.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 |
| 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 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: |
Yang Xu | e5d5e68 | 2019-06-19 18:20:31 -0400 | [diff] [blame] | 86 | initialDelaySeconds: 120 |
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 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 89 | # necessary to disable liveness probe when setting breakpoints |
| 90 | # in debugger so K8s doesn't restart unresponsive container |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 91 | port: api |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 92 | enabled: true |
| 93 | |
| 94 | readiness: |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 95 | initialDelaySeconds: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 96 | periodSeconds: 10 |
Yang Xu | 8560854 | 2019-06-16 23:25:32 -0400 | [diff] [blame] | 97 | timeoutSeconds: 5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 98 | |
| 99 | service: |
| 100 | type: NodePort |
| 101 | name: sdc-be |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 102 | both_tls_and_plain: true |
| 103 | msb: |
Satoshi Fujii | 51bb542 | 2020-10-14 03:04:03 +0000 | [diff] [blame] | 104 | - port: 8443 |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 105 | url: "/sdc/v1" |
| 106 | version: "v1" |
| 107 | protocol: "REST" |
| 108 | visualRange: "1" |
| 109 | serviceName: sdc |
Satoshi Fujii | 51bb542 | 2020-10-14 03:04:03 +0000 | [diff] [blame] | 110 | enable_ssl: true |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 111 | - 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 Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 123 | |
| 124 | ingress: |
| 125 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 126 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 127 | - baseaddr: "sdc.api.be" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 128 | name: "sdc-be" |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 129 | port: 8443 |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 130 | config: |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 131 | ssl: "redirect" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 132 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 133 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 134 | # Resource Limit flavor -By Default using small |
| 135 | flavor: small |
| 136 | # Segregation for Different environment (Small and Large) |
| 137 | resources: |
| 138 | small: |
| 139 | limits: |
| 140 | cpu: 1 |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 141 | memory: 2Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 142 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 143 | cpu: 100m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 144 | memory: 1Gi |
| 145 | large: |
| 146 | limits: |
| 147 | cpu: 2 |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 148 | memory: 4Gi |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 149 | requests: |
ChrisC | 3217234 | 2020-10-02 16:39:13 +0200 | [diff] [blame] | 150 | cpu: 200m |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 151 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 152 | unlimited: {} |