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 |
| 24 | |
| 25 | ################################################################# |
| 26 | # Application configuration defaults. |
| 27 | ################################################################# |
| 28 | # application image |
| 29 | repository: nexus3.onap.org:10001 |
sebdet | e1a57e0 | 2020-07-08 13:54:01 +0200 | [diff] [blame] | 30 | image: onap/sdc-backend:1.6.7 |
| 31 | backendInitImage: onap/sdc-backend-init:1.6.7 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 32 | pullPolicy: Always |
| 33 | |
| 34 | # flag to enable debugging - application support required |
| 35 | debugEnabled: false |
| 36 | |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 37 | config: |
r.bogacki | 65cb1ac | 2019-09-03 09:27:24 +0200 | [diff] [blame] | 38 | javaOptions: "-Xmx1536m -Xms1536m" |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 39 | cassandraSslEnabled: "false" |
| 40 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 41 | # default number of instances |
| 42 | replicaCount: 1 |
| 43 | |
| 44 | nodeSelector: {} |
| 45 | |
| 46 | affinity: {} |
| 47 | |
| 48 | # probe configuration parameters |
| 49 | liveness: |
Yang Xu | e5d5e68 | 2019-06-19 18:20:31 -0400 | [diff] [blame] | 50 | initialDelaySeconds: 120 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 51 | periodSeconds: 10 |
Yang Xu | 8560854 | 2019-06-16 23:25:32 -0400 | [diff] [blame] | 52 | timeoutSeconds: 5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 53 | # necessary to disable liveness probe when setting breakpoints |
| 54 | # in debugger so K8s doesn't restart unresponsive container |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 55 | port: api |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 56 | enabled: true |
| 57 | |
| 58 | readiness: |
Mandeep Khinda | 51a8b1b | 2018-04-24 20:05:32 +0000 | [diff] [blame] | 59 | initialDelaySeconds: 60 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 60 | periodSeconds: 10 |
Yang Xu | 8560854 | 2019-06-16 23:25:32 -0400 | [diff] [blame] | 61 | timeoutSeconds: 5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 62 | |
| 63 | service: |
| 64 | type: NodePort |
| 65 | name: sdc-be |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 66 | both_tls_and_plain: true |
| 67 | msb: |
| 68 | - port: 8080 |
| 69 | url: "/sdc/v1" |
| 70 | version: "v1" |
| 71 | protocol: "REST" |
| 72 | visualRange: "1" |
| 73 | serviceName: sdc |
| 74 | - port: 8080 |
| 75 | url: "/sdc/v1" |
| 76 | version: "v1" |
| 77 | protocol: "REST" |
| 78 | visualRange: "1" |
| 79 | serviceName: sdc-deprecated |
| 80 | ports: |
| 81 | - name: api |
| 82 | port: 8443 |
| 83 | plain_port: 8080 |
| 84 | port_protocol: http |
| 85 | nodePort: '04' |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 86 | |
| 87 | ingress: |
| 88 | enabled: false |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 89 | service: |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 90 | - baseaddr: "sdc.api.be" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 91 | name: "sdc-be" |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 92 | port: 8443 |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 93 | config: |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 94 | ssl: "redirect" |
Lucjan Bryndza | a0abab1 | 2019-11-28 11:00:50 +0100 | [diff] [blame] | 95 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 96 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 97 | # Resource Limit flavor -By Default using small |
| 98 | flavor: small |
| 99 | # Segregation for Different environment (Small and Large) |
| 100 | resources: |
| 101 | small: |
| 102 | limits: |
| 103 | cpu: 1 |
| 104 | memory: 4Gi |
| 105 | requests: |
| 106 | cpu: 10m |
| 107 | memory: 1Gi |
| 108 | large: |
| 109 | limits: |
| 110 | cpu: 2 |
| 111 | memory: 8Gi |
| 112 | requests: |
| 113 | cpu: 20m |
| 114 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 115 | unlimited: {} |