Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Use StorageClassName for PV/PVC in charts #1869

Closed

Description

@gyliu513

Is this a request for help?:


Is this a BUG REPORT or FEATURE REQUEST? (choose one):

In the Kubernetes 1.6 release, dynamic provisioning has been promoted to stable (having entered beta in 1.4). In 1.6, StorageClassName attribute has been added to PersistentVolume and PersistentVolumeClaim objects and should be used instead of annotation volume.beta.kubernetes.io/storage-class.

Version of Helm and Kubernetes:

Which chart:

What happened:

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know:

Activity

  1. gyliu513 commented on Aug 27, 2017

    @gyliu513
    ContributorAuthor

    /cc @kubernetes/charts-maintainers

  2. gyliu513 commented on Aug 28, 2017

    @gyliu513
    ContributorAuthor
    metadata:
      annotations:
      {{- if .Values.server.persistentVolume.storageClass }}
        volume.beta.kubernetes.io/storage-class: {{ .Values.server.persistentVolume.storageClass | quote }}
      {{- else }}
        volume.alpha.kubernetes.io/storage-class: default
      {{- end }}
    

    Do we need to maintain the alpha and beta here? In the Kubernetes 1.6 release, dynamic provisioning has been promoted to stable (having entered beta in 1.4). In 1.6, StorageClassName attribute has been added to PersistentVolume and PersistentVolumeClaim objects and should be used instead of annotation volume.beta.kubernetes.io/storage-class. The beta annotation is still working in this release, however it will be removed in a future release. Checkout here https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#volumes-2 for detail.

  3. unguiculus commented on Aug 30, 2017

    @unguiculus
    Member

    I agree that we should migrate. However, this is not an automatic process. PRs are welcome.

  4. gyliu513 commented on Aug 31, 2017

    @gyliu513
    ContributorAuthor

    @unguiculus why close this one? I may need to reference this if create some PRs.

  5. unguiculus commented on Aug 31, 2017

    @unguiculus
    Member

    Sorry, I reopened it.

  6. gyliu513 commented on Aug 31, 2017

    @gyliu513
    ContributorAuthor

    @kubernetes/charts-maintainers I'm going to remove volume.alpha.kubernetes.io/storage-class and volume.beta.kubernetes.io/storage-class but use StorageClassName for all charts, please show your comments if any. Thanks.

  7. unguiculus commented on Sep 2, 2017

    @unguiculus
    Member

    Please make sure you create separate PRs per chart. Thanks.

  8. gyliu513 commented on Sep 2, 2017

    @gyliu513
    ContributorAuthor

    /assign

  9. unguiculus commented on Sep 2, 2017

    @unguiculus
    Member

    Please use #1332 as reference.

  10. gyliu513 commented on Sep 3, 2017

    @gyliu513
    ContributorAuthor

    Thanks @unguiculus , also mark helm/helm#2600 as related.

  11. gyliu513 commented on Sep 6, 2017

    @gyliu513
    ContributorAuthor

    @prydonius @unguiculus all of the charts are now updated, please help review. Thanks!

  12. fejta-bot commented on Jan 4, 2018

    @fejta-bot

    Issues go stale after 90d of inactivity.
    Mark the issue as fresh with /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.

    Prevent issues from auto-closing with an /lifecycle frozen comment.

    If this issue is safe to close now please do so with /close.

    Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
    /lifecycle stale

  13. added
    lifecycle/stale
    on Jan 4, 2018
  14. gyliu513 commented on Jan 5, 2018

    @gyliu513
    ContributorAuthor

    /remove-lifecycle stale

  15. removed
    lifecycle/stale
    on Jan 5, 2018
  16. fejta-bot commented on Apr 5, 2018

    @fejta-bot

    Issues go stale after 90d of inactivity.
    Mark the issue as fresh with /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.

    If this issue is safe to close now please do so with /close.

    Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
    /lifecycle stale

  17. added
    lifecycle/stale
    on Apr 5, 2018
  18. fejta-bot commented on May 5, 2018

    @fejta-bot

    Stale issues rot after 30d of inactivity.
    Mark the issue as fresh with /remove-lifecycle rotten.
    Rotten issues close after an additional 30d of inactivity.

    If this issue is safe to close now please do so with /close.

    Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
    /lifecycle rotten
    /remove-lifecycle stale

  19. added
    lifecycle/rotten
    and removed
    lifecycle/stale
    on May 5, 2018
  20. gyliu513 commented on May 7, 2018

    @gyliu513
    ContributorAuthor

    /remove-lifecycle rotten

  21. removed
    lifecycle/rotten
    on May 7, 2018
  22. stale commented on Aug 8, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Activing will cause the issue to no longer be considered stale. Thank you for your contributions.

  23. added
    lifecycle/stale
    on Aug 10, 2018
  24. stale commented on Aug 24, 2018

    @stale

    This issue is being automatically closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

lifecycle/stalewontfix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions