d90e9840b60da0d55e7a56516a6755a45e0e38d4
[oom.git] / kubernetes / sdc / charts / sdc-es / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
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:
19   nodePortPrefix: 302
20   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   ubuntuInitRepository: oomk8s
25   ubuntuInitImage: ubuntu-init:1.0.0
26
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 # application image
32 repository: nexus3.onap.org:10001
33 image: onap/sdc-elasticsearch:1.2.0
34 elasticInitImage: onap/sdc-init-elasticsearch:1.2.0
35 pullPolicy: Always
36
37 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 # application configuration
41 config:
42   JvmHeapSize: "1024M"
43   JvmOptions: "-Xms512m -Xmx512m"
44
45 # default number of instances
46 replicaCount: 1
47
48 nodeSelector: {}
49
50 affinity: {}
51
52 # probe configuration parameters
53 liveness:
54   initialDelaySeconds: 10
55   periodSeconds: 10
56   # necessary to disable liveness probe when setting breakpoints
57   # in debugger so K8s doesn't restart unresponsive container
58   enabled: true
59
60 readiness:
61   initialDelaySeconds: 60
62   periodSeconds: 10
63
64 service:
65   type: ClusterIP
66   name: sdc-es
67   portName: sdc-es
68   externalPort: 9200
69   internalPort: 9200
70   externalPort2: 9300
71   internalPort2: 9300
72
73 ## Persist data to a persitent volume
74 persistence:
75   enabled: true
76
77   ## A manually managed Persistent Volume and Claim
78   ## Requires persistence.enabled: true
79   ## If defined, PVC must be created manually before volume will be bound
80   # existingClaim:
81   volumeReclaimPolicy: Retain
82
83   ## database data Persistent Volume Storage Class
84   ## If defined, storageClassName: <storageClass>
85   ## If set to "-", storageClassName: "", which disables dynamic provisioning
86   ## If undefined (the default) or set to null, no storageClassName spec is
87   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
88   ##   GKE, AWS & OpenStack)
89   ##
90   # storageClass: "-"
91   accessMode: ReadWriteMany
92   size: 2Gi
93   mountPath: /dockerdata-nfs
94   mountSubPath: /sdc/sdc-es/ES
95
96 ingress:
97   enabled: false
98
99 resources: {}
100   # We usually recommend not to specify default resources and to leave this as a conscious
101   # choice for the user. This also increases chances charts run on environments with little
102   # resources, such as Minikube. If you do want to specify resources, uncomment the following
103   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
104   #
105   # Example:
106   # Configure resource requests and limits
107   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
108   # Minimum memory for development is 2 CPU cores and 4GB memory
109   # Minimum memory for production is 4 CPU cores and 8GB memory
110 #resources:
111 #  limits:
112 #    cpu: 2
113 #    memory: 4Gi
114 #  requests:
115 #    cpu: 2
116 #    memory: 4Gi