Skip to content

Add support for raw (non-formatted) volume in the UI #2660

Open
@slaperche-scality

Description

@slaperche-scality

Component:

ui

Why this is needed:

We now support formatted and non-formatted volume, but from the UI we can only create formatted volume.

What should be done:

On the volume creation page, add way (a dropdown?) to select the volume mode (either Filesystem or Block, default being Filesystem).

Not sure if we want to expose k8s vocabulary (Filesystem/Block) or another term (Formatted/Non-formatted)? To be defined.

Implementation proposal:

  • add a way to get the volume mode from the user
  • then use this information to generate the CRD, e.g.:
apiVersion: storage.metalk8s.scality.com/v1alpha1
kind: Volume
metadata:
  name: foo
spec:
  nodeName: master-1
  storageClassName: metalk8s-prometheus
  mode: Block // or   mode: Filesystem
  rawBlockDevice:
    devicePath: "/dev/vdb"

Test plan:

TBD

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity:easySomething that requires less than a day to fixpriority:mediumMedium priority issues, should only be postponed if no other optionseverity:mediumMedium impact (usability) on live deploymentstopic:uiUI-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions