blob: 443bf40122d76592a2fb7978395ef8c801bde81d [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# Copyright © 2018 Amdocs, Bell Canada, AT&T
Sylvain Desbureaux5b651322020-12-07 15:34:15 +01002# Modifications Copyright © 2020 Orange
Sylvain Desbureaux70070412020-11-09 21:58:48 +01003#
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.
19global: # global defaults
20 nodePortPrefix: 302
21
Sylvain Desbureaux70070412020-11-09 21:58:48 +010022# application image
wr148d77086d72021-08-27 16:15:36 -040023image: onap/model-loader:1.9.1
Sylvain Desbureaux70070412020-11-09 21:58:48 +010024pullPolicy: Always
25restartPolicy: Always
26flavor: small
27flavorOverride: small
28# application configuration
29config: {}
30
31# default number of instances
32replicaCount: 1
33
34nodeSelector: {}
35
36affinity: {}
37
38# probe configuration parameters
39liveness:
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
46readiness:
47 initialDelaySeconds: 10
48 periodSeconds: 10
49
50service:
51 type: NodePort
osk1146127fd7d82021-06-18 00:51:17 +020052 portName: http
Sylvain Desbureaux70070412020-11-09 21:58:48 +010053 externalPort: 8080
54 internalPort: 8080
55 nodePort: 10
osk1146127fd7d82021-06-18 00:51:17 +020056 portName2: https
Sylvain Desbureaux70070412020-11-09 21:58:48 +010057 externalPort2: 8443
58 internalPort2: 8443
59 nodePort2: 29
60
61ingress:
62 enabled: false
63 service:
64 - baseaddr: "aaimodelloader"
65 name: "aai-modelloader"
66 port: 8443
67 config:
68 ssl: "redirect"
69
70resources:
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 azmyd8937332021-03-09 12:20:42 +020086
87#Pods Service Account
88serviceAccount:
89 nameOverride: aai-modelloader
90 roles:
91 - read
Maciej Wereskid523d122021-09-21 11:22:13 +020092
93#Log configuration
94log:
95 path: /var/log/onap
96logConfigMapNamePrefix: '{{ include "common.fullname" . }}'