Skip to content

Tracking issue for adding PVC support #12438

Open

Description

@skonto

Describe the feature

This is a placeholder for the feature track work described in the related doc:

Alpha (disabled by default):

  • Add rw pvc support in KService
  • Add e2e test
  • Add to listed flags here.

Beta (disabled by default):

  • Add conformance tests
  • Update docs with a separate section for PVC support

GA (disabled by default):

  • Add Knative CLI support (enhance --volume flag)

/area API

Activity

  1. added
    kind/feature
    on Dec 15, 2021
  2. added
    area/API
    on Dec 15, 2021
  3. github-actions commented on May 18, 2022

    @github-actions

    This issue is stale because it has been open for 90 days with no
    activity. It will automatically close after 30 more days of
    inactivity. Reopen the issue with /reopen. Mark the issue as
    fresh by adding the comment /remove-lifecycle stale.

  4. added
    lifecycle/stale
    on May 18, 2022
  5. skonto commented on May 18, 2022

    @skonto
    ContributorAuthor

    /remove-lifecycle stale

  6. removed
    lifecycle/stale
    on May 18, 2022
  7. gunpuz commented on Jul 8, 2022

    @gunpuz

    Any news on PVC file feature @skonto ? Are there any estimates in which version or when this could be available?
    Maybe in the meantime, are there any alternatives to mount / use files with PVC and Knative Serving?

  8. github-actions commented on Oct 8, 2022

    @github-actions

    This issue is stale because it has been open for 90 days with no
    activity. It will automatically close after 30 more days of
    inactivity. Reopen the issue with /reopen. Mark the issue as
    fresh by adding the comment /remove-lifecycle stale.

  9. added
    lifecycle/stale
    on Oct 8, 2022
  10. skonto commented on Oct 10, 2022

    @skonto
    ContributorAuthor

    /remove-lifecycle stale

  11. removed
    lifecycle/stale
    on Oct 10, 2022
  12. skonto commented on Oct 10, 2022

    @skonto
    ContributorAuthor

    @gunpuz hi sorry for the late reply. What feature are you looking for? PVC is available in alpha stage.

  13. gunpuz commented on Oct 10, 2022

    @gunpuz

    Hi, good to know, seems like this PVC support that's in alpha stage is what i'm looking for. I will look into it later, thanks 👍 !
    @skonto are there estimates when this could be released in stable version?

  14. skonto commented on Oct 11, 2022

    @skonto
    ContributorAuthor

    @gunpuz it is on my todo list to move it to GA, hopefully soon. However, this has been tested for quite some time downstream and it is considered to be mature enough. Customers haven't reported any issues so far. Thanks for your patience will get back to it.

  15. ReToCode commented on Dec 14, 2022

    @ReToCode
    Contributor

    a) Regarding Add conformance tests: According to the discussion in #13535, the e2e tests will first advance to beta and then to GA in a future release.

    b) Docs seem to cover PVC support: https://knative.dev/docs/serving/configuration/feature-flags/#kubernetes-persistentvolumeclaim-pvc. Is there another place where docs about this feature should be added?

    c) I checked the client implementation. Seems like the PVC support is already fully covered:

    @skonto WDYT?

  16. skonto commented on Jan 17, 2023

    @skonto
    ContributorAuthor

    a) Yes since we decided this is an extension that we are not enabling by default for now.
    b) No that is the place I am aware of as well.
    c) cool so I will update the description of this issue when the PR #13535 is merged.

  17. dprotaso commented on Jan 18, 2023

    @dprotaso
    Member

    Related Slack discussion: https://knative.slack.com/archives/CA4DNJ9A4/p1673954610282719

    From @skonto

    hi, I see that we enabled emptydir support at some point by default here. Emptydir and pvcs are listed as extensions (they are behind a flag and not part of the API) which means that are never going to be enabled by default as stated in docs:

     Each extension is always controlled by a flag and is never enabled by default. Should we relax this rule?

    From @dprotaso

    Yes - I would say in the past the OSS project was a reference implementation to the spec.So it was very adverse to adopting k8s features outside of the spec and things that aren't 'serverless'.

    I think moving forward the OSS implementation just implements the spec but isn't bound by it. We also want the defaults to be sane for the user and operator

    I think generally I would like more customer/user feedback & to capture use cases before we mark things as GA

  18. dprotaso commented on Jan 18, 2023

    @dprotaso
    Member

    I think as we transition from alpha to beta and we switch some of these flags to be on by default we should give prior notice in the release notes. This will allow operators of existing installations to disable the feature prior to updating.

  19. ReToCode commented on Jan 19, 2023

    @ReToCode
    Contributor

    When I understand you correctly, you'd like to have PVC support also enabled per default (like emptyDir)?
    As far as I got the conversation so far, the ticket (Beta disabled by default) and discussion (#13535 (comment)) expected PVC support to stay disabled, even on GA.
    /cc @skonto

  20. ReToCode commented on Jan 31, 2023

    @ReToCode
    Contributor

    @dprotaso gentle ping regarding #12438 (comment)

  21. skonto commented on Feb 7, 2023

    @skonto
    ContributorAuthor

    PVC support to stay disabled, even on GA.

    That was my understanding for quite some time due to the implications in security and performance.

  22. ReToCode commented on Feb 10, 2023

    @ReToCode
    Contributor

    @dprotaso so we seem to have two options:

    • Let PVC support stay disabled by default, then only need to remove the beta filter in the test.
    • Or do the above and also enable it by default.
      WDYT?
  23. added
    triage/accepted
    on Mar 8, 2023
  24. skonto commented on Dec 20, 2023

    @skonto
    ContributorAuthor

    @dprotaso gentle ping, which option do you prefer?

  25. skonto commented on Feb 21, 2024

    @skonto
    ContributorAuthor

    @dprotaso gentle ping.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/APIkind/featuretriage/accepted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions