blob: 3cfd4535f1aa27626def8f07d4bd1bb5a164b499 [file] [log] [blame]
Ritu Sood23699102019-04-24 23:06:46 +00001# Copyright © 2019 Intel Corporation, Inc
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#################################################################
18global:
19 nodePortPrefix: 302
20 persistence: {}
21
22#################################################################
23# Application configuration defaults.
24#################################################################
25
26#repository: etcd
Sylvain Desbureauxc9f55332020-11-19 17:10:36 +010027image: etcd-amd64:3.2.24
Ritu Sood23699102019-04-24 23:06:46 +000028pullPolicy: Always
29
30# default number of instances in the StatefulSet
31replicaCount: 1
32
33nodeSelector: {}
34
35affinity: {}
36
37# probe configuration parameters
38liveness:
39 initialDelaySeconds: 90
Kiran Kaminenif02245c2019-05-28 13:19:32 -070040 periodSeconds: 30
41 timeoutSeconds: 5
Ritu Sood23699102019-04-24 23:06:46 +000042 # necessary to disable liveness probe when setting breakpoints
43 # in debugger so K8s doesn't restart unresponsive container
44 enabled: true
45
Ritu Sood23699102019-04-24 23:06:46 +000046persistence:
Sylvain Desbureauxb7ed2ee2019-11-29 11:35:13 +010047 enabled: true
Ritu Sood23699102019-04-24 23:06:46 +000048 ## etcd data Persistent Volume Storage Class
49 ## If defined, storageClassName: <storageClass>
50 ## If set to "-", storageClassName: "", which disables dynamic provisioning
51 ## If undefined (the default) or set to null, no storageClassName spec is
52 ## set, choosing the default provisioner. (gp2 on AWS, standard on
53 ## GKE, AWS & OpenStack)
54 ##
Kiran Kamineni56c00a82019-05-20 17:19:40 -070055 #storageClass: "-"
Ritu Sood23699102019-04-24 23:06:46 +000056 accessMode: "ReadWriteOnce"
57 storage: "1Gi"
58 mountPath: /dockerdata-nfs
59 mountSubPath: k8s-etcd
60
61## This is only available when persistentVolume is false:
62## If persistentVolume is not enabled, one can choose to use memory mode for ETCD by setting memoryMode to "true".
63## The system will create a volume with "medium: Memory"
64memoryMode: false
65
66service:
67 name: k8s-etcd
68 peerInternalPort: 2380
69 peerPortName: etcd-server
70 clientInternalPort : 2379
71 clientPortName: etcd-client
72
73## Node labels and tolerations for pod assignment
74## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
75## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature
76nodeSelector: {}
77tolerations: []
78affinity: {}
79extraEnv: []
80resources: {}