Skip to content
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

K8SSAND-1650 ⁃ Allow injecting volumes in the Cassandra pods #620

Closed
adejanovski opened this issue Jul 13, 2022 · 0 comments · Fixed by #624
Closed

K8SSAND-1650 ⁃ Allow injecting volumes in the Cassandra pods #620

adejanovski opened this issue Jul 13, 2022 · 0 comments · Fixed by #624
Assignees
Labels
zh:Ready-For-Review Issues in the ZenHub pipeline 'Ready-For-Review'
Milestone

Comments

@adejanovski
Copy link
Contributor

adejanovski commented Jul 13, 2022

Following up on #569, we need the ability to inject volumes into the Cassandra pods.
There are two types of volumes we need to handle:

  • Volumes unmanaged by the statefulset (emptyDir for example)
  • PVs managed by the statefulset

The latter is available in cass-operator under the type AdditionalVolumes.
The former can simply be added to the pod template spec of the cassdc object.

The following structure could be used in the k8c spec:

       extraVolumes:
          volumes:
            - name: custom-data
              emptyDir: {}
          stsAdditionalVolumes:
            # AdditionalVolume spec

AdditionalVolumes will be mounted automatically by cass-operator, standard volumes can be mounted using the newly added containers and ìnitContainers` structs of the k8c object.

┆Issue is synchronized with this Jira Task by Unito
┆Issue Number: K8SSAND-1650
┆priority: Medium
┆Link To Issue: https://k8ssandra.atlassian.net/browse/K8SSAND-1650

@adejanovski adejanovski added the zh:In-Progress Issues in the ZenHub pipeline 'In-Progress' label Jul 13, 2022
@adejanovski adejanovski self-assigned this Jul 13, 2022
@sync-by-unito sync-by-unito bot changed the title Allow injecting volumes in the Cassandra pods K8SSAND-1650 ⁃ Allow injecting volumes in the Cassandra pods Jul 13, 2022
@adejanovski adejanovski added this to the v1.2 milestone Jul 13, 2022
@adejanovski adejanovski added zh:Ready-For-Review Issues in the ZenHub pipeline 'Ready-For-Review' and removed zh:In-Progress Issues in the ZenHub pipeline 'In-Progress' labels Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
zh:Ready-For-Review Issues in the ZenHub pipeline 'Ready-For-Review'
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant