blob: d90e9840b60da0d55e7a56516a6755a45e0e38d4 [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# 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
Mandeep Khindaa1047f42018-03-22 02:12:15 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
Mandeep Khindaa1047f42018-03-22 02:12:15 +000020 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000021 readinessImage: readiness-check:2.0.0
Mandeep Khindaa1047f42018-03-22 02:12:15 +000022 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
32repository: nexus3.onap.org:10001
Gary Wu46621662018-05-30 14:30:47 -070033image: onap/sdc-elasticsearch:1.2.0
34elasticInitImage: onap/sdc-init-elasticsearch:1.2.0
Mandeep Khindaa1047f42018-03-22 02:12:15 +000035pullPolicy: Always
36
37# flag to enable debugging - application support required
38debugEnabled: false
39
40# application configuration
41config:
Mandeep Khinda403c1c12018-04-19 23:15:43 +000042 JvmHeapSize: "1024M"
43 JvmOptions: "-Xms512m -Xmx512m"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000044
45# default number of instances
46replicaCount: 1
47
48nodeSelector: {}
49
50affinity: {}
51
52# probe configuration parameters
53liveness:
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
60readiness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000061 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000062 periodSeconds: 10
63
64service:
65 type: ClusterIP
66 name: sdc-es
BorislavG1ffbd992018-04-24 07:56:27 +000067 portName: sdc-es
Mandeep Khindaa1047f42018-03-22 02:12:15 +000068 externalPort: 9200
69 internalPort: 9200
70 externalPort2: 9300
71 internalPort2: 9300
72
73## Persist data to a persitent volume
74persistence:
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
96ingress:
97 enabled: false
98
99resources: {}
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