Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
Sylvain Desbureaux | 5b65132 | 2020-12-07 15:34:15 +0100 | [diff] [blame] | 2 | # Modifications Copyright © 2020 Orange |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [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 | |
| 16 | # Default values for modelloader. |
| 17 | # This is a YAML-formatted file. |
| 18 | # Declare variables to be passed into your templates. |
| 19 | global: # global defaults |
| 20 | nodePortPrefix: 302 |
| 21 | |
| 22 | |
| 23 | # application image |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 24 | image: onap/model-loader:1.7.0 |
| 25 | pullPolicy: Always |
| 26 | restartPolicy: Always |
| 27 | flavor: small |
| 28 | flavorOverride: small |
| 29 | # application configuration |
| 30 | config: {} |
| 31 | |
| 32 | # default number of instances |
| 33 | replicaCount: 1 |
| 34 | |
| 35 | nodeSelector: {} |
| 36 | |
| 37 | affinity: {} |
| 38 | |
| 39 | # probe configuration parameters |
| 40 | liveness: |
| 41 | initialDelaySeconds: 10 |
| 42 | periodSeconds: 10 |
| 43 | # necessary to disable liveness probe when setting breakpoints |
| 44 | # in debugger so K8s doesn't restart unresponsive container |
| 45 | enabled: true |
| 46 | |
| 47 | readiness: |
| 48 | initialDelaySeconds: 10 |
| 49 | periodSeconds: 10 |
| 50 | |
| 51 | service: |
| 52 | type: NodePort |
| 53 | portName: aai-modelloader |
| 54 | externalPort: 8080 |
| 55 | internalPort: 8080 |
| 56 | nodePort: 10 |
| 57 | portName2: aai-modelloader-ssl |
| 58 | externalPort2: 8443 |
| 59 | internalPort2: 8443 |
| 60 | nodePort2: 29 |
| 61 | |
| 62 | ingress: |
| 63 | enabled: false |
| 64 | service: |
| 65 | - baseaddr: "aaimodelloader" |
| 66 | name: "aai-modelloader" |
| 67 | port: 8443 |
| 68 | config: |
| 69 | ssl: "redirect" |
| 70 | |
| 71 | resources: |
| 72 | small: |
| 73 | limits: |
| 74 | cpu: 2 |
| 75 | memory: 4Gi |
| 76 | requests: |
| 77 | cpu: 0.5 |
| 78 | memory: 1Gi |
| 79 | large: |
| 80 | limits: |
| 81 | cpu: 4 |
| 82 | memory: 8Gi |
| 83 | requests: |
| 84 | cpu: 1 |
| 85 | memory: 1536Mi |
| 86 | unlimited: {} |