Merge "Add Common Helm Chart "mariadb-galera""
[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   repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
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.2-STAGING-latest
35 elasticInitImage: onap/sdc-init-elasticsearch:1.2-STAGING-latest
36 pullPolicy: Always
37
38 # flag to enable debugging - application support required
39 debugEnabled: false
40
41 # application configuration
42 config:
43   elasticHeapSize: 1024M
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: 10
62   periodSeconds: 10
63
64 service:
65   type: ClusterIP
66   name: sdc-es
67   externalPort: 9200
68   internalPort: 9200
69   externalPort2: 9300
70   internalPort2: 9300
71
72 ## Persist data to a persitent volume
73 persistence:
74   enabled: true
75
76   ## A manually managed Persistent Volume and Claim
77   ## Requires persistence.enabled: true
78   ## If defined, PVC must be created manually before volume will be bound
79   # existingClaim:
80   volumeReclaimPolicy: Retain
81
82   ## database data Persistent Volume Storage Class
83   ## If defined, storageClassName: <storageClass>
84   ## If set to "-", storageClassName: "", which disables dynamic provisioning
85   ## If undefined (the default) or set to null, no storageClassName spec is
86   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
87   ##   GKE, AWS & OpenStack)
88   ##
89   # storageClass: "-"
90   accessMode: ReadWriteMany
91   size: 2Gi
92   mountPath: /dockerdata-nfs
93   mountSubPath: /sdc/sdc-es/ES
94
95 ingress:
96   enabled: false
97
98 resources: {}
99   # We usually recommend not to specify default resources and to leave this as a conscious
100   # choice for the user. This also increases chances charts run on environments with little
101   # resources, such as Minikube. If you do want to specify resources, uncomment the following
102   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
103   #
104   # Example:
105   # Configure resource requests and limits
106   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
107   # Minimum memory for development is 2 CPU cores and 4GB memory
108   # Minimum memory for production is 4 CPU cores and 8GB memory
109 #resources:
110 #  limits:
111 #    cpu: 2
112 #    memory: 4Gi
113 #  requests:
114 #    cpu: 2
115 #    memory: 4Gi