a84f738583e935a4daa33cf4d8752d35fd3cf5da
[oom.git] / kubernetes / sdc / charts / sdc-es / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T, ZTE
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: 302
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.2
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   ubuntuInitRepository: oomk8s
26   ubuntuInitImage: ubuntu-init:1.0.0
27
28
29 #################################################################
30 # Application configuration defaults.
31 #################################################################
32 # application image
33 repository: nexus3.onap.org:10001
34 image: onap/sdc-elasticsearch:1.4.0
35 elasticInitImage: onap/sdc-init-elasticsearch:1.4.0
36 pullPolicy: Always
37
38 # flag to enable debugging - application support required
39 debugEnabled: false
40
41 # application configuration
42 config:
43   JvmHeapSize: "1024M"
44   JvmOptions: "-Xms512m -Xmx512m"
45
46 # default number of instances
47 replicaCount: 1
48
49 nodeSelector: {}
50
51 affinity: {}
52
53 # probe configuration parameters
54 liveness:
55   initialDelaySeconds: 60
56   periodSeconds: 10
57   # necessary to disable liveness probe when setting breakpoints
58   # in debugger so K8s doesn't restart unresponsive container
59   enabled: true
60
61 readiness:
62   initialDelaySeconds: 60
63   periodSeconds: 10
64
65 service:
66   type: ClusterIP
67   name: sdc-es
68   portName: sdc-es
69   externalPort: 9200
70   internalPort: 9200
71   externalPort2: 9300
72   internalPort2: 9300
73
74 ## Persist data to a persitent volume
75 persistence:
76   enabled: true
77
78   ## A manually managed Persistent Volume and Claim
79   ## Requires persistence.enabled: true
80   ## If defined, PVC must be created manually before volume will be bound
81   # existingClaim:
82   volumeReclaimPolicy: Retain
83
84   ## database data Persistent Volume Storage Class
85   ## If defined, storageClassName: <storageClass>
86   ## If set to "-", storageClassName: "", which disables dynamic provisioning
87   ## If undefined (the default) or set to null, no storageClassName spec is
88   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
89   ##   GKE, AWS & OpenStack)
90   ##
91   # storageClass: "-"
92   accessMode: ReadWriteMany
93   size: 2Gi
94   mountPath: /dockerdata-nfs
95   mountSubPath: /sdc/sdc-es/ES
96
97 ingress:
98   enabled: false
99
100 # Resource Limit flavor -By Default using small
101 flavor: small
102 # Segregation for Different environment (Small and Large)
103 resources:
104   small:
105     limits:
106       cpu: 1
107       memory: 4Gi
108     requests:
109       cpu: 10m
110       memory: 1Gi
111   large:
112     limits:
113       cpu: 2
114       memory: 8Gi
115     requests:
116       cpu: 20m
117       memory: 2Gi
118   unlimited: {}
119