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 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 22 | # application image |
wr148d | 77086d7 | 2021-08-27 16:15:36 -0400 | [diff] [blame] | 23 | image: onap/model-loader:1.9.1 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 24 | pullPolicy: Always |
| 25 | restartPolicy: Always |
| 26 | flavor: small |
| 27 | flavorOverride: small |
| 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 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 52 | portName: http |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 53 | externalPort: 8080 |
| 54 | internalPort: 8080 |
| 55 | nodePort: 10 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 56 | portName2: https |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 57 | externalPort2: 8443 |
| 58 | internalPort2: 8443 |
| 59 | nodePort2: 29 |
| 60 | |
| 61 | ingress: |
| 62 | enabled: false |
| 63 | service: |
| 64 | - baseaddr: "aaimodelloader" |
| 65 | name: "aai-modelloader" |
| 66 | port: 8443 |
| 67 | config: |
| 68 | ssl: "redirect" |
| 69 | |
| 70 | resources: |
| 71 | small: |
| 72 | limits: |
| 73 | cpu: 2 |
| 74 | memory: 4Gi |
| 75 | requests: |
| 76 | cpu: 0.5 |
| 77 | memory: 1Gi |
| 78 | large: |
| 79 | limits: |
| 80 | cpu: 4 |
| 81 | memory: 8Gi |
| 82 | requests: |
| 83 | cpu: 1 |
| 84 | memory: 1536Mi |
| 85 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 86 | |
| 87 | #Pods Service Account |
| 88 | serviceAccount: |
| 89 | nameOverride: aai-modelloader |
| 90 | roles: |
| 91 | - read |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 92 | |
| 93 | #Log configuration |
| 94 | log: |
| 95 | path: /var/log/onap |
| 96 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |