[SO] 16.0.4 release
[oom.git] / kubernetes / common / etcd / values.yaml
1 # Copyright © 2019 Intel Corporation, Inc
2 # Modifications Copyright © 2024 Deutsche Telekom
3 #
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
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21   clusterName: cluster.local
22   persistence: {}
23
24 #################################################################
25 # Application configuration defaults.
26 #################################################################
27
28 #repository: etcd
29 image: etcd-amd64:3.2.24
30 pullPolicy: Always
31
32 # default number of instances in the StatefulSet
33 replicaCount: 1
34
35 nodeSelector: {}
36
37 affinity: {}
38
39 securityContext:
40   user_id: 1000
41   group_id: 1000
42
43 # probe configuration parameters
44 liveness:
45   initialDelaySeconds: 90
46   periodSeconds: 30
47   timeoutSeconds: 5
48   # necessary to disable liveness probe when setting breakpoints
49   # in debugger so K8s doesn't restart unresponsive container
50   enabled: true
51
52 persistence:
53   enabled: true
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)
60   ##
61   #storageClass: "-"
62   accessMode: "ReadWriteOnce"
63   storage: "1Gi"
64   mountPath: /dockerdata-nfs
65   mountSubPath: k8s-etcd
66
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"
70 memoryMode: false
71
72 service:
73   name: k8s-etcd
74   peerInternalPort: 2380
75   peerPortName: etcd-server
76   clientInternalPort : 2379
77   clientPortName: etcd-client
78
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
82 nodeSelector: {}
83 tolerations: []
84 affinity: {}
85 extraEnv: []
86 resources: {}