toshrajbhardwaj | 84d73b1 | 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 | 6a8ce80 | 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 | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 20 | |
| 21 | |
| 22 | # application image |
| 23 | repository: nexus3.onap.org:10001 |
Kajur, Harish (vk250x) | 41a435d | 2018-09-06 14:44:40 -0400 | [diff] [blame] | 24 | image: onap/model-loader:1.3-STAGING-latest |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 25 | pullPolicy: Always |
| 26 | restartPolicy: Always |
rajeshkalai | 47c1de3 | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 27 | flavor: small |
kj | 6a8ce80 | 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 | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 52 | portName: aai-modelloader |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 53 | externalPort: 8080 |
| 54 | internalPort: 8080 |
| 55 | nodePort: 10 |
BorislavG | dd20705 | 2018-05-22 11:31:39 +0000 | [diff] [blame] | 56 | portName2: aai-modelloader-ssl |
kj | 6a8ce80 | 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 | |
kj | 6a8ce80 | 2018-03-19 15:07:44 +0200 | [diff] [blame] | 64 | # We usually recommend not to specify default resources and to leave this as a conscious |
| 65 | # choice for the user. This also increases chances charts run on environments with little |
| 66 | # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 67 | # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 68 | # |
| 69 | # Example: |
| 70 | # Configure resource requests and limits |
| 71 | # ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| 72 | # Minimum memory for development is 2 CPU cores and 4GB memory |
| 73 | # Minimum memory for production is 4 CPU cores and 8GB memory |
| 74 | #resources: |
| 75 | # limits: |
| 76 | # cpu: 2 |
| 77 | # memory: 4Gi |
| 78 | # requests: |
| 79 | # cpu: 2 |
| 80 | # memory: 4Gi |
rajeshkalai | 47c1de3 | 2018-09-20 06:36:28 -0400 | [diff] [blame] | 81 | resources: |
| 82 | small: |
| 83 | limits: |
| 84 | cpu: 2 |
| 85 | memory: 4Gi |
| 86 | requests: |
| 87 | cpu: 1 |
| 88 | memory: 2Gi |
| 89 | large: |
| 90 | limits: |
| 91 | cpu: 4 |
| 92 | memory: 8Gi |
| 93 | requests: |
| 94 | cpu: 4 |
| 95 | memory: 8Gi |