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
Issue facing in regards to bounding pulp file-storage storage #289
Comments
|
CC @mikedep333, could you please help us with this? |
|
@mikedep333 |
|
So I deployed to minikube as a test with the specified affinity. I see the same issue as reported. However, if I update the main role for a component and add a debug var for affinity I can see that the value is set and present. For some reason the templating doesn't seem to be obtaining this value, which I don't understand. Will continue to investigate. |
|
Found the cause of the issue. This is related to the following operator-sdk problem: The problem is when the data is passed into the template it has been converted to the lowercased and underscore separated variable: to: This then gets discarded by the Kubernetes API as the format is invalid. A similar issue had impacted the pulp_settings and was fixed with this PR: #35 This can be resolved with a similar approach. I'll make the necessary changes and open a PR. |
* Obtain affinity from raw spec data * If affinity and node_affinity are present apply to deployments Affected by issue: operator-framework/operator-sdk#1770 Related to: pulp#289
* Obtain affinity from raw spec data * If affinity and node_affinity are present apply to deployments Affected by issue: operator-framework/operator-sdk#1770 Related to: pulp#289 [noissue]
|
@harshad16 Looks like @chambridge fixed this issue. Please confirm and close this issue. |
|
@dkliban i m waiting on the operator release |
I'll be releasing soon |
|
Thanks for the release @fao89 let me know if this should be reported on a separate issue. |
|
@harshad16 no need for reporting a new issue, I'll be looking into that |
|
@harshad16 I've released 0.6.1 could you please test it? |
|
Thanks @fao89 |
Hello,
While trying to set up an instance of pulp on pulp-operator, we are facing an issue, as we don't have storage that supports the ReadWriteMany with volume mode file-system. We thought of using the alternative and switch to ReadwriteOnce mode [1]
and use node affinity to make the deployment stay on one single node , so all pods can interact with the storage(as the ReadWriteOnce on same node kinda behaves as ReadWriteMany)
However, when stating the node affinity, it is not bounding the pods to the same node.
Is this the right way of using the pulp node affinity?
https://github.com/operate-first/apps/blob/f67c2ae1556633acdad02f0771800ce488e62e83/pulp/overlays/moc/smaug/opf-pulp.yaml#L31
Related-to: operate-first/support#456
The text was updated successfully, but these errors were encountered: