Skip to content

Commit 54b90ef

Browse files
committed
helm charts: add lua memory reserve for tarantool containers (#85)
1 parent b6d1039 commit 54b90ef

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111
- Integration test for cluster_controller written with envtest and ginkgo
1212
- Description of failover setting in the Cartridge Kubernetes guide
1313
- Section to troubleshooting about CrashLoopBackOff
14+
- Lua memory reserve for tarantool containers
1415

1516
### Changed
1617
- Requested verbs for a RBAC role Tarantool: remove all * verbs and resources

examples/kv/helm-chart/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ spec:
8383
resources:
8484
requests:
8585
cpu: "{{ .CPUallocation }}"
86-
memory: "{{ .MemtxMemoryMB }}M"
86+
memory: "{{ add .MemtxMemoryMB $.Values.LuaMemoryReserveMB }}M"
8787
limits:
8888
cpu: "{{ .CPUallocation }}"
89-
memory: "{{ .MemtxMemoryMB }}M"
89+
memory: "{{ add .MemtxMemoryMB $.Values.LuaMemoryReserveMB }}M"
9090
ports:
9191
- containerPort: 3301
9292
protocol: TCP

examples/kv/helm-chart/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ ClusterEnv: dev
44
ClusterName: examples-kv-cluster
55
ClusterDomainName: cluster.local
66
TarantoolWorkDir: /var/lib/tarantool
7+
LuaMemoryReserveMB: 2048
78

89
image:
910
repository: tarantool/tarantool-operator-examples-kv

0 commit comments

Comments
 (0)