Add standardized helm chart for log
[oom.git] / kubernetes / log / charts / log-elasticsearch / 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   persistence: {}
22
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
26
27 # BusyBox image
28 busyboxRepository: registry.hub.docker.com
29 busyboxImage: library/busybox:latest
30
31 # application image
32 loggingRepository: docker.elastic.co
33 image: elasticsearch/elasticsearch:5.5.0
34 pullPolicy: Always
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 # application configuration
40 # Example:
41 config: {}
42
43 # default number of instances
44 replicaCount: 1
45
46 nodeSelector: {}
47
48 affinity: {}
49
50 # probe configuration parameters
51 liveness:
52   initialDelaySeconds: 10
53   periodSeconds: 10
54   # necessary to disable liveness probe when setting breakpoints
55   # in debugger so K8s doesn't restart unresponsive container
56   enabled: true
57
58 readiness:
59   initialDelaySeconds: 10
60   periodSeconds: 10
61
62 ## Persist data to a persitent volume
63 persistence:
64   enabled: true
65
66   ## A manually managed Persistent Volume and Claim
67   ## Requires persistence.enabled: true
68   ## If defined, PVC must be created manually before volume will be bound
69   # existingClaim:
70   volumeReclaimPolicy: Retain
71
72   ## database data Persistent Volume Storage Class
73   ## If defined, storageClassName: <storageClass>
74   ## If set to "-", storageClassName: "", which disables dynamic provisioning
75   ## If undefined (the default) or set to null, no storageClassName spec is
76   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
77   ##   GKE, AWS & OpenStack)
78   accessMode: ReadWriteMany
79   size: 1Gi
80   mountPath: /dockerdata-nfs
81   mountSubPath: log/elasticsearch/data
82   mountSubPathLogs: log
83
84 service:
85   #Example service definition with external, internal and node ports.
86   #Services may use any combination of ports depending on the 'type' of
87   #service being defined.
88   type: ClusterIP
89   name: log-es
90   externalPort: 9200
91   internalPort: 9200
92   externalPortTcp: 9300
93   internalPortTcp: 9300
94 ingress:
95   enabled: false
96
97 resources: {}
98   # We usually recommend not to specify default resources and to leave this as a conscious
99   # choice for the user. This also increases chances charts run on environments with little
100   # resources, such as Minikube. If you do want to specify resources, uncomment the following
101   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
102   #
103   # Example:
104   # Configure resource requests and limits
105   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
106   # Minimum memory for development is 2 CPU cores and 4GB memory
107   # Minimum memory for production is 4 CPU cores and 8GB memory
108 #resources:
109 #  limits:
110 #    cpu: 2
111 #    memory: 4Gi
112 #  requests:
113 #    cpu: 2
114 #    memory: 4Gi