Skip to content

[kubernetes] Support disk_size and disk_tier #7234

@clayrosenthal

Description

@clayrosenthal

Right now sky doesn't support disk_size or disk_tier for kubernetes. I think a good way to support disk_size in kubernetes would be to have a config field to map disk_tiers to kubernetes StorageClass.

ie:

kubernetes:
  disk_tiers:
    low:
      storage_class_name: 'my-slow-sc'
      access_mode: ReadWriteMany  # optional
    medium:
      storage_class_name: 'a-better-sc'
    high:
      storage_class_name: 'way-better-sc'
    ultra:
      storage_class_name: 'super-fast-sc'
      access_mode: ReadWriteOnce

Correct me if I'm wrong, but I assume best just picks the best of the above tiers.

I imagine you could also configure this per context for heterogeneous clusters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions