toshrajbhardwaj | f4fc1c6 | 2018-08-06 07:35:14 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
| 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 | |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 15 | # Default values for modelloader. |
| 16 | # This is a YAML-formatted file. |
| 17 | # Declare variables to be passed into your templates. |
| 18 | global: # global defaults |
| 19 | nodePortPrefix: 302 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 20 | |
| 21 | |
| 22 | # application image |
| 23 | repository: nexus3.onap.org:10001 |
Gary Wu | 72901cd | 2018-11-15 18:27:40 -0800 | [diff] [blame] | 24 | image: onap/model-loader:1.3.1 |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 25 | pullPolicy: Always |
| 26 | restartPolicy: Always |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 27 | flavor: small |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 28 | # application configuration |
| 29 | config: {} |
| 30 | |
| 31 | # default number of instances |
| 32 | replicaCount: 1 |
| 33 | |
| 34 | nodeSelector: {} |
| 35 | |
| 36 | affinity: {} |
| 37 | |
| 38 | # probe configuration parameters |
| 39 | liveness: |
| 40 | initialDelaySeconds: 10 |
| 41 | periodSeconds: 10 |
| 42 | # necessary to disable liveness probe when setting breakpoints |
| 43 | # in debugger so K8s doesn't restart unresponsive container |
| 44 | enabled: true |
| 45 | |
| 46 | readiness: |
| 47 | initialDelaySeconds: 10 |
| 48 | periodSeconds: 10 |
| 49 | |
| 50 | service: |
| 51 | type: NodePort |
BorislavG | 2d4426e | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 52 | portName: aai-modelloader |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 53 | externalPort: 8080 |
| 54 | internalPort: 8080 |
| 55 | nodePort: 10 |
BorislavG | 2d4426e | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 56 | portName2: aai-modelloader-ssl |
kj | 9bf2731 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 57 | externalPort2: 8443 |
| 58 | internalPort2: 8443 |
| 59 | nodePort2: 29 |
| 60 | |
| 61 | ingress: |
| 62 | enabled: false |
| 63 | |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 64 | |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 65 | resources: |
| 66 | small: |
| 67 | limits: |
| 68 | cpu: 2 |
| 69 | memory: 4Gi |
| 70 | requests: |
jimmy | 297f59b | 2018-12-06 15:05:48 -0500 | [diff] [blame^] | 71 | cpu: 0.5 |
| 72 | memory: 1Gi |
rajeshkalai | 9fcfbce | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 73 | large: |
| 74 | limits: |
| 75 | cpu: 4 |
| 76 | memory: 8Gi |
| 77 | requests: |
jimmy | 297f59b | 2018-12-06 15:05:48 -0500 | [diff] [blame^] | 78 | cpu: 1 |
| 79 | memory: 1536Mi |
Mandeep Khinda | 60d36d4 | 2018-09-24 15:15:48 +0000 | [diff] [blame] | 80 | unlimited: {} |