Use SO simulutor in cmso-robot
[oom.git] / kubernetes / oof / charts / oof-cmso / charts / oof-cmso-service / values.yaml
1 # Copyright © 2018-2019 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 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global: # global defaults
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22
23 subChartsOnly:
24   enabled: true
25
26 # application image
27 repository: nexus3.onap.org:10001
28 image: onap/optf-cmso-service:2.1.1
29 robotimage: onap/optf-cmso-robot:2.1.1
30 pullPolicy: Always
31
32 #init container image
33 dbinit:
34   image: onap/optf-cmso-dbinit:2.1.1
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 #################################################################
40 # Application configuration defaults.
41 #################################################################
42 # default number of instances
43 replicaCount: 1
44
45 nodeSelector: {}
46
47 affinity: {}
48
49 # probe configuration parameters
50 liveness:
51   initialDelaySeconds: 120
52   periodSeconds: 10
53   # necessary to disable liveness probe when setting breakpoints
54   # in debugger so K8s doesn't restart unresponsive container
55   enabled: true
56
57 readiness:
58   initialDelaySeconds: 120
59   periodSeconds: 10
60
61
62 service:
63   type: ClusterIP
64   name: oof-cmso
65   portName: cmso
66   internalPort: 8080
67   externalPort: 8080
68   #nodePort: 23
69   # as of 20181022 port 23 is reserved for cmso
70   # see https://wiki.onap.org/display/DW/OOM+NodePort+List
71
72
73 config:
74   db_root: root
75   db_user: cmso-admin
76   mysqlDatabase: cmso
77   db_host: oof-cmso-dbhost
78   db_port: 3306
79   optimizer_host: oof-cmso-optimizer
80   optimizer_port: 7997
81
82 mariadb:
83   nameOverride: cmso-db
84
85 ingress:
86   enabled: false
87
88 #resources: {}
89   # We usually recommend not to specify default resources and to leave this as a conscious
90   # choice for the user. This also increases chances charts run on environments with little
91   # resources, such as Minikube. If you do want to specify resources, uncomment the following
92   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
93   #
94   # Example:
95   # Configure resource requests and limits
96   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
97   # Minimum memory for development is 2 CPU cores and 4GB memory
98   # Minimum memory for production is 4 CPU cores and 8GB memory
99 flavor: small
100 resources:
101   small:
102     limits:
103       cpu: 1
104       memory: 1.2Gi
105     requests:
106       cpu: 10m
107       memory: 800Mi
108   large:
109     limits:
110       cpu: 1
111       memory: 1.2Gi
112     requests:
113       cpu: 10m
114       memory: 800Mi
115   unlimited: {}