Merge "default storageclass and nfs provisioner"
[oom.git] / kubernetes / cds / values.yaml
1 # Copyright © 2018 Orange
2 # Modifications Copyright © 2018  Amdocs, Bell Canada
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 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 303
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:1.1.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25
26 subChartsOnly:
27   enabled: true
28
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/ccsdk-cds-ui:1.0.0-STAGING-latest
32 pullPolicy: Always
33
34 # application configuration
35 config:
36
37 mariadb-galera:
38   config:
39       userName: sdnctl
40       userPassword: sdnctl
41       mariadbRootPassword: sdnctl
42       mysqlDatabase: sdnctl
43   nameOverride: cds-db
44   service:
45     name: cds-db
46     portName: cds-db
47   replicaCount: 1
48   persistence:
49     enabled: true
50     mountSubPath: cds/data
51
52 # default number of instances
53 replicaCount: 1
54
55 nodeSelector: {}
56
57 affinity: {}
58
59 # probe configuration parameters
60 liveness:
61   httpGet:
62     path: /
63     port: 3000
64   initialDelaySeconds: 30
65   periodSeconds: 10
66   # necessary to disable liveness probe when setting breakpoints
67   # in debugger so K8s doesn't restart unresponsive container
68   enabled: true
69
70 readiness:
71   httpGet:
72     path: /ping
73     port: 3000
74   initialDelaySeconds: 30
75   periodSeconds: 10
76
77 service:
78   type: NodePort
79   portName: ui
80   name: cds
81   nodePort: 97
82   internalPort: 3000
83
84 ingress:
85   enabled: false
86 # Resource Limit flavor -By Default using small
87 flavor: small
88 # Segregation for Different environment (Small and Large)
89 resources:
90   small:
91     limits:
92       cpu: 1
93       memory: 1Gi
94     requests:
95       cpu: 10m
96       memory: 100Mi
97   large:
98     limits:
99       cpu: 2
100       memory: 2Gi
101     requests:
102       cpu: 200m
103       memory: 200Mi
104   unlimited: {}