1 # Copyright © 2019 Intel Corporation, Inc
2 # Modifications Copyright © 2024 Deutsche Telekom
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
21 clusterName: cluster.local
24 #################################################################
25 # Application configuration defaults.
26 #################################################################
29 image: etcd-amd64:3.2.24
32 # default number of instances in the StatefulSet
43 # probe configuration parameters
45 initialDelaySeconds: 90
48 # necessary to disable liveness probe when setting breakpoints
49 # in debugger so K8s doesn't restart unresponsive container
54 ## etcd data Persistent Volume Storage Class
55 ## If defined, storageClassName: <storageClass>
56 ## If set to "-", storageClassName: "", which disables dynamic provisioning
57 ## If undefined (the default) or set to null, no storageClassName spec is
58 ## set, choosing the default provisioner. (gp2 on AWS, standard on
59 ## GKE, AWS & OpenStack)
62 accessMode: "ReadWriteOnce"
64 mountPath: /dockerdata-nfs
65 mountSubPath: k8s-etcd
67 ## This is only available when persistentVolume is false:
68 ## If persistentVolume is not enabled, one can choose to use memory mode for ETCD by setting memoryMode to "true".
69 ## The system will create a volume with "medium: Memory"
74 peerInternalPort: 2380
75 peerPortName: etcd-server
76 clientInternalPort : 2379
77 clientPortName: etcd-client
79 ## Node labels and tolerations for pod assignment
80 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
81 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature