/
druid_v1alpha1_etcd.yaml
65 lines (63 loc) · 1.69 KB
/
druid_v1alpha1_etcd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
apiVersion: druid.gardener.cloud/v1alpha1
kind: Etcd
metadata:
name: etcd-test
labels:
app: etcd-statefulset
garden.sapcloud.io/role: controlplane
role: test
spec:
selector:
matchLabels:
app: etcd-statefulset
garden.sapcloud.io/role: controlplane
role: test
annotations:
app: etcd-statefulset
garden.sapcloud.io/role: controlplane
networking.gardener.cloud/to-dns: allowed
networking.gardener.cloud/to-private-networks: allowed
networking.gardener.cloud/to-public-networks: allowed
role: test
labels:
app: etcd-statefulset
garden.sapcloud.io/role: controlplane
networking.gardener.cloud/to-dns: allowed
networking.gardener.cloud/to-private-networks: allowed
networking.gardener.cloud/to-public-networks: allowed
role: test
etcd:
metrics: basic
defragmentationSchedule: "0 */24 * * *"
resources:
limits: { cpu: 2500m, memory: 4Gi }
requests: { cpu: 500m, memory: 1000Mi }
clientPort: 2379
serverPort: 2380
quota: 8Gi
backup:
port: 8080
fullSnapshotSchedule: "0 */24 * * *"
resources:
limits: { cpu: 500m, memory: 2Gi }
requests: { cpu: 23m, memory: 128Mi }
garbageCollectionPolicy: Exponential
garbageCollectionPeriod: 43200s
deltaSnapshotPeriod: 300s
deltaSnapshotMemoryLimit: 1Gi
# store:
# secretRef:
# name: etcd-backup
# container: shoot--dev--i308301-1--b3cab
# provider: aws
# prefix: etcd-test
compression:
enabled: false
policy: "gzip"
sharedConfig:
autoCompactionMode: periodic
autoCompactionRetention: "30m"
replicas: 1
# priorityClassName: foo
storageClass: standard
storageCapacity: 10Gi