-
Notifications
You must be signed in to change notification settings - Fork 30
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
Manage PVCs in the conductor StatefulSet #438
Manage PVCs in the conductor StatefulSet #438
Conversation
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/ea409a7279b14ba99f6701ccdadc7e81 ✔️ noop SUCCESS in 0s |
The intent is for each conductor pod to have its own volume to store /var/lib/ironic state. However currently a single PVC is created and the resulting volume is shared across conductors. This change moves the PVC creation to be managed by the StatefulSet, so that PVC replicas match pod replicas. ReadWriteMany is not required for these volumes, and we required the control plane to not provide volumes of this type, so this change also switches to ReadWriteOnce. This fixes OSPRH-7688. Authored-By: Steve Baker <[email protected]> Co-Authored-By: Harald Jensås <[email protected]> Jira: OSPRH-7688
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: juliakreger, steveb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
1560412
into
openstack-k8s-operators:main
/lgtm |
The intent is for each conductor pod to have its own volume to store
/var/lib/ironic state. However currently a single PVC is created and the
resulting volume is shared across conductors. This change moves the PVC
creation to be managed by the StatefulSet, so that PVC replicas match
pod replicas.
ReadWriteMany is not required for these volumes, and we required the
control plane to not provide volumes of this type, so this change also
switches to ReadWriteOnce. This fixes OSPRH-7688.
Jira: OSPRH-7688