Skip to content

Commit

Permalink
[DOC] vm.max_map_count: update init container example (#5469) (#5482)
Browse files Browse the repository at this point in the history
* [DOC] vm.max_map_count: update init container example (#5469)

* Update NOTICE.txt
  • Loading branch information
barkbay committed Mar 16, 2022
1 parent e79a9bb commit bcb438b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2018-2021 Elasticsearch BV
Copyright 2018-2022 Elasticsearch BV

This product includes software developed by The Apache Software
Foundation (http://www.apache.org/).
Expand Down
1 change: 1 addition & 0 deletions config/samples/elasticsearch/elasticsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
# - name: sysctl
# securityContext:
# privileged: true
# runAsUser: 0
# command: ['sh', '-c', 'sysctl -w vm.max_map_count=262144']
###
# uncomment the line below if you are using a service mesh such as linkerd2 that uses service account tokens for pod identification.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spec:
- name: sysctl
securityContext:
privileged: true
runAsUser: 0
command: ['sh', '-c', 'sysctl -w vm.max_map_count=262144']
EOF
----
Expand Down

0 comments on commit bcb438b

Please sign in to comment.