fixing sdc health check
[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   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: 10
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: 10
63   periodSeconds: 10
64
65 service:
66   type: ClusterIP
67   name: 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