-
Notifications
You must be signed in to change notification settings - Fork 4
/
values.yaml
136 lines (126 loc) · 4.13 KB
/
values.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
## Default values for Event Store.
## Duplicate this file and customize.
## Event Store image repository.
## ref: https://hub.docker.com/r/eventstore/eventstore/
image: eventstore/eventstore
##
## Event Store image tag
imageTag: release-5.0.10
##
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
imagePullPolicy: IfNotPresent
##
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# imagePullSecrets:
# - myRegistrKeySecretName
##
## The number of nodes in the cluster. When setting up a cluster,
## you generally want an odd number of nodes as Event Store uses a
## quorum based algorithm to handle high availability. We recommended
## you define an odd number of nodes to avoid split brain problems.
## Common values for the `clusterSize` setting are 3 or 5
## (to have a majority of 2 nodes and a majority of 3 nodes).
## ref: https://eventstore.org/docs/server/cluster-without-manager-nodes/index.html
clusterSize: 1
##
## Configure the HTTP admin API. The admin password is set
## using a post-install hook that makes a POST request to the
## Event Store HTTP API. The `admin.password` value should be
## set in a separate `creds-values.yaml` file so that you can
## keep it out of source control and read during deployment.
## See the `ci` directory in this repo for the default values.
## ref: https://eventstore.org/docs/http-api/security/index.html
## ref: https://github.com/helm/helm/blob/master/docs/charts_hooks.md
admin:
##
## Service type for admin interface.
serviceType: ClusterIP
##
## NGINX image used for admin interface proxy.
proxyImage: nginx
proxyImageTag: latest
##
## The dns resolver which is being used in the cluster (e.g., kube-dns, coredns)
dnsResolver: kube-dns
##
## Configure a pod disruption budget for the Event Store StatefulSet.
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
podDisruptionBudget:
##
## Enable a pod disruption budget.
enabled: false
##
## Number of pods that must still be available after eviction.
minAvailable: 2
##
## Number of pods that can be unavailable after eviction.
# maxUnavailable: 1
##
## Internal HTTP port.
intHttpPort: 2112
##
## External HTTP port.
extHttpPort: 2113
##
## Internal TCP port.
intTcpPort: 1112
##
## External TCP port.
extTcpPort: 1113
##
## The amount of drift, in ms, between clocks on nodes allowed before gossip is rejected.
gossipAllowedDiffMs: 600000
## Additional Event Store parameters as environment variables.
## ref: https://eventstore.org/docs/server/command-line-arguments/index.html#parameter-list
## example:
## EVENTSTORE_RUN_PROJECTIONS: System
eventStoreConfig: {
EVENTSTORE_INT_TCP_HEARTBEAT_INTERVAL: 3000,
EVENTSTORE_INT_TCP_HEARTBEAT_TIMEOUT: 1500,
EVENTSTORE_EXT_TCP_HEARTBEAT_INTERVAL: 6000,
EVENTSTORE_EXT_TCP_HEARTBEAT_TIMEOUT: 3000,
EVENTSTORE_RUN_PROJECTIONS: None
}
##
## Schedule a scavenging CronJob
## ref: https://eventstore.org/docs/server/scavenging/
scavenging:
enabled: false
image: lachlanevenson/k8s-kubectl
imageTag: latest
schedule: 0 2 * * *
## Persist data to a persistent volume
persistence:
enabled: false
## A manually managed Persistent Volume and Claim
## Requires persistence.enabled: true
## If defined, PVC must be created manually before volume will be bound
# existingClaim:
## database data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
accessMode: ReadWriteOnce
size: 8Gi
mountPath: /var/lib/eventstore
annotations: {}
resources:
requests:
cpu: 250m
memory: 500Mi
limits:
cpu: 500m
memory: 1Gi
nodeSelector: {}
podAnnotations: {}
tolerations: []
affinity: {}