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 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 21 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | 35f83f5 | 2019-03-20 10:42:49 +0000 | [diff] [blame] | 22 | readinessImage: readiness-check:2.0.2 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | |
| 26 | ################################################################# |
| 27 | # Application configuration defaults. |
| 28 | ################################################################# |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
Brian Freeman | 0c24fcd | 2019-08-01 07:16:00 -0500 | [diff] [blame] | 31 | image: onap/sdc-backend:1.5.1 |
| 32 | backendInitImage: onap/sdc-backend-init:1.5.1 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 33 | pullPolicy: Always |
| 34 | |
| 35 | # flag to enable debugging - application support required |
| 36 | debugEnabled: false |
| 37 | |
Mandeep Khinda | 403c1c1 | 2018-04-19 23:15:43 +0000 | [diff] [blame] | 38 | config: |
| 39 | javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=4000,server=y,suspend=n -Xmx1536m -Xms1536m" |
| 40 | cassandraSslEnabled: "false" |
| 41 | |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 42 | # default number of instances |
| 43 | replicaCount: 1 |
| 44 | |
| 45 | nodeSelector: {} |
| 46 | |
| 47 | affinity: {} |
| 48 | |
| 49 | # probe configuration parameters |
| 50 | liveness: |
Yang Xu | e5d5e68 | 2019-06-19 18:20:31 -0400 | [diff] [blame] | 51 | initialDelaySeconds: 120 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 52 | periodSeconds: 10 |
Yang Xu | 8560854 | 2019-06-16 23:25:32 -0400 | [diff] [blame] | 53 | timeoutSeconds: 5 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 54 | # necessary to disable liveness probe when setting breakpoints |
| 55 | # in debugger so K8s doesn't restart unresponsive container |
| 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 |
BorislavG | 1ffbd99 | 2018-04-24 07:56:27 +0000 | [diff] [blame] | 66 | portName: sdc-be |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 67 | nodePort: "04" |
| 68 | internalPort: 8443 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 69 | externalPort: 8443 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 70 | nodePort2: "05" |
| 71 | internalPort2: 8080 |
Mandeep Khinda | fe527eb | 2018-10-16 09:56:34 -0400 | [diff] [blame] | 72 | externalPort2: 8080 |
Mandeep Khinda | a1047f4 | 2018-03-22 02:12:15 +0000 | [diff] [blame] | 73 | |
| 74 | ingress: |
| 75 | enabled: false |
| 76 | |
Mukul | a93baa8 | 2018-09-19 15:56:58 +0000 | [diff] [blame] | 77 | # Resource Limit flavor -By Default using small |
| 78 | flavor: small |
| 79 | # Segregation for Different environment (Small and Large) |
| 80 | resources: |
| 81 | small: |
| 82 | limits: |
| 83 | cpu: 1 |
| 84 | memory: 4Gi |
| 85 | requests: |
| 86 | cpu: 10m |
| 87 | memory: 1Gi |
| 88 | large: |
| 89 | limits: |
| 90 | cpu: 2 |
| 91 | memory: 8Gi |
| 92 | requests: |
| 93 | cpu: 20m |
| 94 | memory: 2Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 95 | unlimited: {} |
shrikantawachar | ca99d77 | 2019-06-12 15:57:09 +0530 | [diff] [blame] | 96 | |