jmac | 7c43467 | 2018-05-11 20:14:17 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
| 20 | readinessRepository: oomk8s |
Mahendra Raghuwanshi | b76cb28 | 2019-04-09 10:13:07 +0000 | [diff] [blame] | 21 | readinessImage: readiness-check:2.0.2 |
jmac | 7c43467 | 2018-05-11 20:14:17 +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 |
Timoney, Dan (dt5972) | e943a52 | 2019-06-11 10:32:24 +0200 | [diff] [blame] | 30 | image: onap/sdnc-ansible-server-image:1.5.4 |
jmac | 7c43467 | 2018-05-11 20:14:17 +0000 | [diff] [blame] | 31 | pullPolicy: Always |
| 32 | |
| 33 | # flag to enable debugging - application support required |
| 34 | debugEnabled: false |
| 35 | |
| 36 | # application configuration |
| 37 | config: |
| 38 | sdncChartName: sdnc |
| 39 | configDir: /opt/onap/sdnc |
Mahendra Raghuwanshi | b76cb28 | 2019-04-09 10:13:07 +0000 | [diff] [blame] | 40 | mariadbGalera: |
| 41 | serviceName: mariadb-galera |
jmac | 7c43467 | 2018-05-11 20:14:17 +0000 | [diff] [blame] | 42 | |
| 43 | |
| 44 | # default number of instances |
| 45 | replicaCount: 1 |
| 46 | |
| 47 | nodeSelector: {} |
| 48 | |
| 49 | affinity: {} |
| 50 | |
| 51 | # probe configuration parameters |
| 52 | liveness: |
BorislavG | 8d9337a | 2018-06-13 14:56:54 +0000 | [diff] [blame] | 53 | initialDelaySeconds: 180 |
jmac | 7c43467 | 2018-05-11 20:14:17 +0000 | [diff] [blame] | 54 | periodSeconds: 10 |
| 55 | # necessary to disable liveness probe when setting breakpoints |
| 56 | # in debugger so K8s doesn't restart unresponsive container |
| 57 | enabled: true |
| 58 | |
| 59 | readiness: |
| 60 | initialDelaySeconds: 60 |
| 61 | periodSeconds: 10 |
| 62 | |
| 63 | service: |
| 64 | type: ClusterIP |
| 65 | name: sdnc-ansible-server |
| 66 | portName: sdnc-ansible-server |
| 67 | internalPort: 8000 |
| 68 | externalPort: 8000 |
| 69 | |
| 70 | ingress: |
| 71 | enabled: false |
| 72 | |
toshrajbhardwaj | 72b5f0f | 2018-09-13 02:45:22 +0000 | [diff] [blame] | 73 | #Resource Limit flavor -By default using small |
| 74 | flavor: small |
| 75 | |
| 76 | #Segregation for Different environment (Small and Large) |
| 77 | |
| 78 | resources: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 79 | small: |
| 80 | limits: |
| 81 | cpu: 1 |
| 82 | memory: 1Gi |
| 83 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 84 | cpu: 0.5 |
| 85 | memory: 500Mi |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 86 | large: |
| 87 | limits: |
| 88 | cpu: 2 |
| 89 | memory: 2Gi |
| 90 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 91 | cpu: 1 |
| 92 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 93 | unlimited: {} |