blob: e2b9fa1f34a1061d184c0a8bd3787f4f9f7050f4 [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# 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
15# Default values for modelloader.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
20
21
22# application image
23repository: nexus3.onap.org:10001
24image: onap/model-loader:1.7.0
25pullPolicy: Always
26restartPolicy: Always
27flavor: small
28flavorOverride: small
29# application configuration
30config: {}
31
32# default number of instances
33replicaCount: 1
34
35nodeSelector: {}
36
37affinity: {}
38
39# probe configuration parameters
40liveness:
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
47readiness:
48 initialDelaySeconds: 10
49 periodSeconds: 10
50
51service:
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
62ingress:
63 enabled: false
64 service:
65 - baseaddr: "aaimodelloader"
66 name: "aai-modelloader"
67 port: 8443
68 config:
69 ssl: "redirect"
70
71resources:
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: {}