blob: e406443a6d12a41bfd31a0c30b15a277242c7009 [file] [log] [blame]
toshrajbhardwaj84d73b12018-08-06 07:35:14 +00001# 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
kj6a8ce802018-03-19 15:07:44 +020015# 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
kj6a8ce802018-03-19 15:07:44 +020020
21
22# application image
23repository: nexus3.onap.org:10001
Kajur, Harish (vk250x)41a435d2018-09-06 14:44:40 -040024image: onap/model-loader:1.3-STAGING-latest
kj6a8ce802018-03-19 15:07:44 +020025pullPolicy: Always
26restartPolicy: Always
rajeshkalai47c1de32018-09-20 06:36:28 -040027flavor: small
kj6a8ce802018-03-19 15:07:44 +020028# 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
BorislavGdd207052018-05-22 11:31:39 +000052 portName: aai-modelloader
kj6a8ce802018-03-19 15:07:44 +020053 externalPort: 8080
54 internalPort: 8080
55 nodePort: 10
BorislavGdd207052018-05-22 11:31:39 +000056 portName2: aai-modelloader-ssl
kj6a8ce802018-03-19 15:07:44 +020057 externalPort2: 8443
58 internalPort2: 8443
59 nodePort2: 29
60
61ingress:
62 enabled: false
63
kj6a8ce802018-03-19 15:07:44 +020064 # 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
rajeshkalai47c1de32018-09-20 06:36:28 -040081resources:
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