Skip to content

[Standard] A simple, usable default StorageClass should be available in Kubernetes clusters #652

@martinmo

Description

@martinmo

At the moment, we have scs-0211-v1 SCS KaaS default storage class, which defines some contraints for a default storage class, if it exists. But it doesn't enforce that such an SC exists.

Proposal to be discussed:

  1. Require that a default storage class exists and is properly annotated (storageclass.kubernetes.io/is-default-class).
  2. It must support RWO access mode.
  3. Users may delete this SC, it just has to exist in a fresh cluster.
  4. How this default StorageClass is implemented, is up to the CSP. For example, it could be provided by something simple as rancher/local-path-provisioner.
  5. Advanced requirements are out of scope, for example:
    • not being backed by local storage
    • support for allowVolumeExpansion
    • HA / redundancy
    • performance

Motivation: lower the entry barrier for users by making things work out of the box, wrt storage. For example, many Helm charts require either a default SC or the user needs to specifiy a SC name.

Risks: users may solely rely on this default SC without checking what guarantees it gives.

(CC @mxmxchere because he proposed this to me via chat and I endorse this.)

Definition of Done:

Please refer to scs-0001-v1 for details.

  • Proposal has been written with name of the form scs-xxxx-v1-slug.md (only substitute slug)
  • Proposal has the fields status, type, track set
  • Proposal has been voted upon in the corresponding team
  • Status has been changed into Draft, file renamed: xxxx replaced by document number
  • If applicable: test script has been written (this item may be moved into a separate issue so long as the state is Draft)

Metadata

Metadata

Labels

ContainerIssues or pull requests relevant for Team 2: Container Infra and ToolingSCS-VP10Related to tender lot SCS-VP10

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions