Alexis de Talhouët | 108e28f | 2019-04-14 18:54:56 -0400 | [diff] [blame] | 1 | # Copyright © 2018 Orange |
| 2 | # Modifications Copyright © 2018 Amdocs, Bell Canada |
| 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 | |
| 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefixExt: 304 |
| 21 | readinessRepository: oomk8s |
| 22 | readinessImage: readiness-check:1.1.0 |
| 23 | loggingRepository: docker.elastic.co |
| 24 | loggingImage: beats/filebeat:5.5.0 |
| 25 | |
| 26 | subChartsOnly: |
| 27 | enabled: true |
| 28 | |
| 29 | # application image |
| 30 | repository: nexus3.onap.org:10001 |
| 31 | image: onap/ccsdk-cds-ui-server:0.4.2-STAGING-latest |
| 32 | pullPolicy: Always |
| 33 | |
| 34 | # application configuration |
| 35 | config: |
| 36 | |
| 37 | # default number of instances |
| 38 | replicaCount: 1 |
| 39 | |
| 40 | nodeSelector: {} |
| 41 | |
| 42 | affinity: {} |
| 43 | |
| 44 | # probe configuration parameters |
| 45 | liveness: |
| 46 | httpGet: |
| 47 | path: / |
| 48 | port: 3000 |
| 49 | initialDelaySeconds: 30 |
| 50 | periodSeconds: 10 |
| 51 | # necessary to disable liveness probe when setting breakpoints |
| 52 | # in debugger so K8s doesn't restart unresponsive container |
| 53 | enabled: true |
| 54 | |
| 55 | readiness: |
| 56 | httpGet: |
| 57 | path: /ping |
| 58 | port: 3000 |
| 59 | initialDelaySeconds: 30 |
| 60 | periodSeconds: 10 |
| 61 | |
| 62 | service: |
| 63 | type: NodePort |
| 64 | portName: ui |
| 65 | name: cds-ui |
| 66 | nodePort: 97 |
| 67 | internalPort: 3000 |
| 68 | |
| 69 | ingress: |
| 70 | enabled: false |
| 71 | # Resource Limit flavor -By Default using small |
| 72 | flavor: small |
| 73 | # Segregation for Different environment (Small and Large) |
| 74 | resources: |
| 75 | small: |
| 76 | limits: |
| 77 | cpu: 1 |
| 78 | memory: 1Gi |
| 79 | requests: |
| 80 | cpu: 10m |
| 81 | memory: 100Mi |
| 82 | large: |
| 83 | limits: |
| 84 | cpu: 2 |
| 85 | memory: 2Gi |
| 86 | requests: |
| 87 | cpu: 200m |
| 88 | memory: 200Mi |
| 89 | unlimited: {} |