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 |
| 21 | readinessImage: readiness-check:2.0.0 |
| 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) | 1bb05c8 | 2018-07-24 10:10:08 -0400 | [diff] [blame] | 30 | image: onap/sdnc-ansible-server-image:1.4-STAGING-latest |
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 |
| 40 | mysqlServiceName: sdnc-dbhost |
| 41 | |
| 42 | |
| 43 | # default number of instances |
| 44 | replicaCount: 1 |
| 45 | |
| 46 | nodeSelector: {} |
| 47 | |
| 48 | affinity: {} |
| 49 | |
| 50 | # probe configuration parameters |
| 51 | liveness: |
BorislavG | 8d9337a | 2018-06-13 14:56:54 +0000 | [diff] [blame] | 52 | initialDelaySeconds: 180 |
jmac | 7c43467 | 2018-05-11 20:14:17 +0000 | [diff] [blame] | 53 | periodSeconds: 10 |
| 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: |
| 59 | initialDelaySeconds: 60 |
| 60 | periodSeconds: 10 |
| 61 | |
| 62 | service: |
| 63 | type: ClusterIP |
| 64 | name: sdnc-ansible-server |
| 65 | portName: sdnc-ansible-server |
| 66 | internalPort: 8000 |
| 67 | externalPort: 8000 |
| 68 | |
| 69 | ingress: |
| 70 | enabled: false |
| 71 | |
toshrajbhardwaj | 72b5f0f | 2018-09-13 02:45:22 +0000 | [diff] [blame] | 72 | #Resource Limit flavor -By default using small |
| 73 | flavor: small |
| 74 | |
| 75 | #Segregation for Different environment (Small and Large) |
| 76 | |
| 77 | resources: |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 78 | small: |
| 79 | limits: |
| 80 | cpu: 1 |
| 81 | memory: 1Gi |
| 82 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 83 | cpu: 0.5 |
| 84 | memory: 500Mi |
Mandeep Khinda | de04571 | 2018-09-19 18:11:57 +0000 | [diff] [blame] | 85 | large: |
| 86 | limits: |
| 87 | cpu: 2 |
| 88 | memory: 2Gi |
| 89 | requests: |
Mandeep Khinda | 3c13425 | 2018-09-19 23:56:37 +0000 | [diff] [blame] | 90 | cpu: 1 |
| 91 | memory: 1Gi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 92 | unlimited: {} |