-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup initContainer for recommended sysctls #1303
Comments
It seems like the vm.* settings are considered unsafe |
Hello! We allow you to inject any init container you need, so you can already do it via initContainers in the group spec. I do not see any need to allow more than this, as the above will solve all issues. We will prepare a container definition to set all sysctl settings for ArangoDB, which you will be able to copy-paste into your ArangoDeployment. Best, |
Hi Adam, thanks for the info. I couldn't find documentation of the custom initContainers anywhere, so I assume I just need to add them to the group spec and they will be executed before (or after?) the other initContainers (in case of |
Hello! Link to the API: https://github.com/arangodb/kube-arangodb/blob/master/pkg/apis/deployment/v2alpha1/server_group_spec.go#L143 They gonna be executed after ArangoDB initContainers, but before DB will start. |
Hi! Sorry, I didn't consider some go files in the sources as part of the API, shouldn't it be part of the documentation at https://www.arangodb.com/docs/stable/deployment-kubernetes-deployment-resource.html ? As we're not talking about I will create another issue for the missing documentation of custom initContainers if that's fine with you. |
When running
Single
instances via the operator, they produce a warning to modify the virtual memory property:It would be nice to configure the
securityContext.sysctls
properties in the deployment CR to let the pod have more memory handles as suggested by the warning or is there another way?The text was updated successfully, but these errors were encountered: