Hi. You can use the
kubectl logs command with the specific container name (
wazuh-indexer) to view the indexer logs and check if the pod is healthy and running.
The Defaulted container "wazuh-indexer" out of: wazuh-indexer, volume-mount-hack (init), increase-the-vm-max-map-count (init) message is related to the memory on the container that seems to be a little short. The advised memory value is 4GB or RAM minimum on the indexer-resources.yaml file and setting the JVM heap size to 2GB (these parameters need to be set to half of the physical memory). You can modify the latter in the wazuh/indexer_stack/wazuh-indexer/cluster/indexer-sts.yaml file changing the `-Xms` and `-Xmx` parameters from:
- name: OPENSEARCH_JAVA_OPTS
value: '-Xms1g -Xmx1g -Dlog4j2.formatMsgNoLookups=true'
To:
- name: OPENSEARCH_JAVA_OPTS
value: '-Xms2g -Xmx2g -Dlog4j2.formatMsgNoLookups=true'
Hope this helps!