Skip to content

Conversation

@synhershko
Copy link
Collaborator

OpenSearch requires vm.max_map_count >= 262144 to prevent bootstrap failures
in production deployments. The previous default of false would cause OpenSearch to fail on most Kubernetes nodes that have the default vm.max_map_count value of 65530.

Changes:

  • Add kubebuilder:default=true annotation to SetVMMaxMapCount field
  • Regenerate CRD manifests with the new default value
  • Update documentation to clarify the default behavior

This ensures production-ready deployments work out of the box while maintaining security by requiring explicit configuration.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

… production readiness

OpenSearch requires vm.max_map_count >= 262144 to prevent bootstrap
failures
in production deployments. The previous default of false would cause
OpenSearch to fail on most Kubernetes nodes that have the default
vm.max_map_count value of 65530.

Changes:
- Add kubebuilder:default=true annotation to SetVMMaxMapCount field
- Regenerate CRD manifests with the new default value
- Update documentation to clarify the default behavior

This ensures production-ready deployments work out of the box while
maintaining security by requiring explicit configuration.

Signed-off-by: Itamar Syn-Hershko <[email protected]>
@jpmat296
Copy link

Thank you for the fix. But does crd.md file should be corrected here too ?

@josedev-union
Copy link
Contributor

Thank you for the fix. But does crd.md file should be corrected here too ?

Good catch

Signed-off-by: josedev-union <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants