Skip to content

Commit

Permalink
increase vm max map
Browse files Browse the repository at this point in the history
  • Loading branch information
minghsu0107 authored Mar 16, 2022
1 parent 8b572af commit 72a3f2d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/cassandra/cassandra-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ spec:
mountPath: /etc/cassandra
- name: scripts
mountPath: /scripts
- name: increase-vm-max-map
image: busybox:1.34.1
command: ["sysctl", "-w", "vm.max_map_count=1048575"]
securityContext:
privileged: true
containers:
- name: cassandra-exporter
image: criteord/cassandra_exporter:2.3.6
Expand Down

0 comments on commit 72a3f2d

Please sign in to comment.