-
Notifications
You must be signed in to change notification settings - Fork 59
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
Don't require IPC_LOCK and SYS_RESOURCE capabilities by default #237
Comments
Seems as a good idea to me. What is the progress on 208? |
@smiklosovic looks like we are waiting for a response from @zegelin and @benbromhead. I can take the initiative there and propose a solution for #208 following my comment in a new PR, but I thought @alourie was on it so didn't want to interfere. |
@johananl @benbromhead @zegelin yes, I am basically waiting on the comment in #208. I can do this either stand alone or as a part of #218. |
Hello, is there a workaround to avoid this problem? As it stands, I can't deploy Cassandra in one of our test clusters:
|
Hello @DestyNova. Could you provide some information regarding your setup?
Relevant work is being done in #208. As a workaround in the meantime, you may be able to tweak the relevant pod security policy in your cluster to allow the following:
If you are not sure which PSP to edit, the following may give you a hint:
|
Thanks @johananl! I don't have access now, but I'll try that tomorrow 👍 |
@johananl I'm not sure what the version is, but::
|
Fixed in #269. |
We should consider removing the extra capabilities which are currently added to the Cassandra containers by the operator:
cassandra-operator/pkg/controller/cassandradatacenter/statefulset.go
Lines 119 to 126 in 5616166
Following #219 (comment) it is likely that we don't actually need these capabilities in the Cassandra container since things seem to work without them (albeit with potentially reduced performance). We may want to conditionally add these capabilities only when the sysctl support flag discussed in #208 is set to
true
.The text was updated successfully, but these errors were encountered: