blob: c5bad7c7cd50da894a3d993b14f2b55f6d130c1d [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T, ZTE
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00003#
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
Mandeep Khindaa1047f42018-03-22 02:12:15 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Mandeep Khindaa1047f42018-03-22 02:12:15 +000021 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
Mandeep Khindaa1047f42018-03-22 02:12:15 +000023 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
33repository: nexus3.onap.org:10001
Gary Wu46621662018-05-30 14:30:47 -070034image: onap/sdc-elasticsearch:1.2.0
35elasticInitImage: onap/sdc-init-elasticsearch:1.2.0
Mandeep Khindaa1047f42018-03-22 02:12:15 +000036pullPolicy: Always
37
38# flag to enable debugging - application support required
39debugEnabled: false
40
41# application configuration
42config:
Mandeep Khinda403c1c12018-04-19 23:15:43 +000043 JvmHeapSize: "1024M"
44 JvmOptions: "-Xms512m -Xmx512m"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000045
46# default number of instances
47replicaCount: 1
48
49nodeSelector: {}
50
51affinity: {}
52
53# probe configuration parameters
54liveness:
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
61readiness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000062 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000063 periodSeconds: 10
64
65service:
66 type: ClusterIP
67 name: sdc-es
BorislavG1ffbd992018-04-24 07:56:27 +000068 portName: sdc-es
Mandeep Khindaa1047f42018-03-22 02:12:15 +000069 externalPort: 9200
70 internalPort: 9200
71 externalPort2: 9300
72 internalPort2: 9300
73
74## Persist data to a persitent volume
75persistence:
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
97ingress:
98 enabled: false
99
100resources: {}
101 # We usually recommend not to specify default resources and to leave this as a conscious
102 # choice for the user. This also increases chances charts run on environments with little
103 # resources, such as Minikube. If you do want to specify resources, uncomment the following
104 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
105 #
106 # Example:
107 # Configure resource requests and limits
108 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
109 # Minimum memory for development is 2 CPU cores and 4GB memory
110 # Minimum memory for production is 4 CPU cores and 8GB memory
111#resources:
112# limits:
113# cpu: 2
114# memory: 4Gi
115# requests:
116# cpu: 2
117# memory: 4Gi